diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-07-25 17:38:15 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-01 13:54:57 +0200 |
commit | 8f4fb5d6320241a27d4d8c93d819daba40c58867 (patch) | |
tree | 04d4aa7565550516756cee7687c93796892be73b /NK_C_API.h | |
parent | 7c4012b7074252d8a5cc3b462705e171112a85bf (diff) | |
download | libnitrokey-8f4fb5d6320241a27d4d8c93d819daba40c58867.tar.gz libnitrokey-8f4fb5d6320241a27d4d8c93d819daba40c58867.tar.bz2 |
Handle changing user and admin PINs
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r-- | NK_C_API.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -23,6 +23,8 @@ extern uint32_t NK_get_totp_code(uint8_t slot_number, uint64_t challenge, uint64 extern int NK_totp_set_time(uint64_t time); extern int NK_totp_get_time(); extern uint8_t NK_get_last_command_status(); +extern int NK_change_admin_PIN(char *current_PIN, char *new_PIN); +extern int NK_change_user_PIN(char *current_PIN, char *new_PIN); } |