Nitrokey / libnitrokey

Communicate with Nitrokey devices in a clean and easy manner
https://nitrokey.com/
GNU Lesser General Public License v3.0
65 stars 34 forks source link

Export PWS slot count in C API #152

Closed robinkrahl closed 5 years ago

robinkrahl commented 5 years ago

The C++ API already defines the number of slots in device_proto.h. This patch adds it to the C API. It is especially important to have this constant in the C API as it is the length of the array returned by NK_get_password_safe_slot_status.

szszszsz commented 5 years ago

Merged, thank you!