aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-25 18:32:01 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commit689f38b7a4bbb823b8d43bab8357a32558d3775c (patch)
tree1aa4de929d14a71731fd44ef4f72d3f2c15a3dc0 /NK_C_API.h
parent9413952f3c7d30bb462d4f1a211a3b0c2391f51e (diff)
downloadlibnitrokey-689f38b7a4bbb823b8d43bab8357a32558d3775c.tar.gz
libnitrokey-689f38b7a4bbb823b8d43bab8357a32558d3775c.tar.bz2
Change fields naming in login function
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 a692a26..aef6182 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -10,7 +10,7 @@ extern "C"
{
//Make sure each function's declaration is in one line (for automatic python declaration processing)
extern void NK_set_debug(bool state);
-extern int NK_login(const char *pin, const char *temporary_password);
+extern int NK_login(const char *admin_pin, const char *temporary_password);
extern int NK_logout();
extern const char * NK_status();
extern const char * NK_get_totp_slot_name(uint8_t slot_number);