diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2018-05-19 17:57:12 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-05-19 17:57:12 +0200 |
commit | e91e21d5aa6c885fcb0c04ea130c93b72ce9a92b (patch) | |
tree | ed6dbc13e837351e4df6de5b0b2408c1c400f508 /NK_C_API.h | |
parent | d0155ee65bd26a21190f655a53c01b2f08d84427 (diff) | |
parent | ecd0a6993d90bad030a568c88f804c9f8eaa6315 (diff) | |
download | libnitrokey-e91e21d5aa6c885fcb0c04ea130c93b72ce9a92b.tar.gz libnitrokey-e91e21d5aa6c885fcb0c04ea130c93b72ce9a92b.tar.bz2 |
Merge branch 'pr_113'
Mark unused parameters in TOTP code getter in the C API.
Closes #113
Diffstat (limited to 'NK_C_API.h')
-rw-r--r-- | NK_C_API.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -265,9 +265,9 @@ extern "C" { /** * Get TOTP code from the device * @param slot_number TOTP slot number, slot_number<15 - * @param challenge TOTP challenge - * @param last_totp_time last time - * @param last_interval last interval + * @param challenge TOTP challenge -- unused + * @param last_totp_time last time -- unused + * @param last_interval last interval --unused * @return TOTP code */ NK_C_API char * NK_get_totp_code(uint8_t slot_number, uint64_t challenge, uint64_t last_totp_time, @@ -276,9 +276,9 @@ extern "C" { /** * Get TOTP code from the device (PIN protected) * @param slot_number TOTP slot number, slot_number<15 - * @param challenge TOTP challenge - * @param last_totp_time last time - * @param last_interval last interval + * @param challenge TOTP challenge -- unused + * @param last_totp_time last time -- unused + * @param last_interval last interval -- unused * @param user_temporary_password char[25] user temporary password if PIN protected OTP codes are enabled, * otherwise should be set to empty string - '' * @return TOTP code |