aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-08-05 09:55:06 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-05 10:19:25 +0200
commitbc5261c18a4608806dcb866afb73f7a979e2e90f (patch)
tree77a71206566c9217f4cba40963ba8c6524451cbc /NK_C_API.h
parent7c1c040bc57dcfd4ef8abdb481ef7b3df2b116b6 (diff)
downloadlibnitrokey-bc5261c18a4608806dcb866afb73f7a979e2e90f.tar.gz
libnitrokey-bc5261c18a4608806dcb866afb73f7a979e2e90f.tar.bz2
Allow user to choose new user PIN when unlocking
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r--NK_C_API.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index 5554426..7610d29 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -81,7 +81,7 @@ extern int NK_build_aes_key(const char* admin_password);
* @param admin_password char[20](Pro) current administrator PIN
* @return command processing error code
*/
-extern int NK_unlock_user_password(const char* admin_password);
+extern int NK_unlock_user_password(const char *admin_password, const char *new_user_password);
/**
* Write general config to the device