aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-27 08:40:57 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commitae8f2596895ba27539409b2399d985b2c613e2d7 (patch)
tree2ab661678c4bf838a79b0b4a4acd4942e8b34f36 /NK_C_API.h
parent37d833828746b2437479123866d5c54ae78e2b14 (diff)
downloadlibnitrokey-ae8f2596895ba27539409b2399d985b2c613e2d7.tar.gz
libnitrokey-ae8f2596895ba27539409b2399d985b2c613e2d7.tar.bz2
Getting password safe data does not need admin temp
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r--NK_C_API.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index 9dc1bce..29505fd 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -39,9 +39,9 @@ extern uint8_t NK_get_admin_retry_count();
//password safe
extern int NK_enable_password_safe(const char *user_pin);
extern uint8_t * NK_get_password_safe_slot_status();
-extern const char *NK_get_password_safe_slot_name(uint8_t slot_number, const char *temporary_password);
-extern const char *NK_get_password_safe_slot_login(uint8_t slot_number, const char *temporary_password);
-extern const char *NK_get_password_safe_slot_password(uint8_t slot_number, const char *temporary_password);
+extern const char *NK_get_password_safe_slot_name(uint8_t slot_number);
+extern const char *NK_get_password_safe_slot_login(uint8_t slot_number);
+extern const char *NK_get_password_safe_slot_password(uint8_t slot_number);
extern int NK_write_password_safe_slot(uint8_t slot_number, const char *slot_name, const char *slot_login, const char *slot_password);
extern int NK_erase_password_safe_slot(uint8_t slot_number);
}