mcdope/pam_usb

[Enhancement] Allow arbitary amount of devices instead of hardcoded maximum

Opened this issue · 0 comments

Understood

No, I'm just too lazy to provide the data you request for a bug

Text

After #31 we will have support multiple devices per user.

However, the current code assumes a maximum of 10 devices and also initializes memory for 10 devices, even if freed later. This should be changed so it just uses the amount found in the config.