From 7d71398f4043c10c3870cb9deb2eae7bf1c5f0ee Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 26 Jul 2016 21:17:34 +0200 Subject: Assertions on password safe slot number Signed-off-by: Szczepan Zalega --- include/NitrokeyManager.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/NitrokeyManager.h') diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h index 629744a..63332aa 100644 --- a/include/NitrokeyManager.h +++ b/include/NitrokeyManager.h @@ -69,6 +69,7 @@ namespace nitrokey { bool is_valid_hotp_slot_number(uint8_t slot_number) const; bool is_valid_totp_slot_number(uint8_t slot_number) const; + bool is_valid_password_safe_slot_number(uint8_t slot_number) const; uint8_t get_internal_slot_number_for_hotp(uint8_t slot_number) const; uint8_t get_internal_slot_number_for_totp(uint8_t slot_number) const; bool erase_slot(uint8_t slot_number); -- cgit v1.2.3