aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-12-12 17:45:35 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-02-23 15:42:38 +0100
commit08e0a45a8f10ae4fbe294a903b3a6264aa3c4333 (patch)
treedcc5b69a4a012f06aae73c4ad96acf5794e98117 /NK_C_API.h
parent66a67b7b69b9cb43a810449761c78883e9e11bd6 (diff)
downloadlibnitrokey-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.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index bd7130f..9ab29b5 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -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.