diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2019-06-19 14:45:16 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2019-06-19 14:45:16 +0200 |
commit | 3fc4193776b4ea29354838df024a72d7c8349ea9 (patch) | |
tree | 65f0cf56c96cb4a667e1fdbefdca054314a6bf5a /libnitrokey/NitrokeyManager.h | |
parent | 2c749223714c4d7815ca6b2d1888169a864a0fec (diff) | |
parent | 12c4198187de476a4e27da16c7b8737e6550973a (diff) | |
download | libnitrokey-3fc4193776b4ea29354838df024a72d7c8349ea9.tar.gz libnitrokey-3fc4193776b4ea29354838df024a72d7c8349ea9.tar.bz2 |
Merge branch 'backward_compatibility'
Do the HOTP slot counter conversion from ASCII to binary only for
Storage v0.53 and lower. Storage v0.54 returns binary counter.
Diffstat (limited to 'libnitrokey/NitrokeyManager.h')
-rw-r--r-- | libnitrokey/NitrokeyManager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnitrokey/NitrokeyManager.h b/libnitrokey/NitrokeyManager.h index 0691035..33ede1b 100644 --- a/libnitrokey/NitrokeyManager.h +++ b/libnitrokey/NitrokeyManager.h @@ -299,6 +299,7 @@ char * strndup(const char* str, size_t maxlen); void enable_firmware_update_pro(const char *firmware_pin); void change_firmware_update_password_pro(const char *firmware_pin_current, const char *firmware_pin_new); + bool is_internal_hotp_slot_number(uint8_t slot_number) const; }; } |