diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-12-12 17:45:35 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-02-23 15:42:38 +0100 |
commit | 08e0a45a8f10ae4fbe294a903b3a6264aa3c4333 (patch) | |
tree | dcc5b69a4a012f06aae73c4ad96acf5794e98117 /NK_C_API.h | |
parent | 66a67b7b69b9cb43a810449761c78883e9e11bd6 (diff) | |
download | libnitrokey-08e0a45a8f10ae4fbe294a903b3a6264aa3c4333.tar.gz libnitrokey-08e0a45a8f10ae4fbe294a903b3a6264aa3c4333.tar.bz2 |
Correct variable name for unencrypted ro/rw switch
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r-- | NK_C_API.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -428,21 +428,23 @@ extern "C" { * Make unencrypted volume read-only. * Device hides unencrypted volume for a second therefore make sure * buffers are flushed before running. + * Accepts: User PIN for Storage v0.48 and below, Admin PIN for Storage v0.49+ * Storage only - * @param user_pin 20 characters + * @param user_admin_pin 20 characters * @return command processing error code */ - NK_C_API int NK_set_unencrypted_read_only(const char* user_pin); + NK_C_API int NK_set_unencrypted_read_only(const char* user_admin_pin); /** * Make unencrypted volume read-write. * Device hides unencrypted volume for a second therefore make sure * buffers are flushed before running. + * Accepts: User PIN for Storage v0.48 and below, Admin PIN for Storage v0.49+ * Storage only - * @param user_pin 20 characters + * @param user_admin_pin 20 characters * @return command processing error code */ - NK_C_API int NK_set_unencrypted_read_write(const char* user_pin); + NK_C_API int NK_set_unencrypted_read_write(const char* user_admin_pin); /** * Make encrypted volume read-only. |