aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.cc
diff options
context:
space:
mode:
Diffstat (limited to 'NK_C_API.cc')
-rw-r--r--NK_C_API.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/NK_C_API.cc b/NK_C_API.cc
index 6565b7c..441acb9 100644
--- a/NK_C_API.cc
+++ b/NK_C_API.cc
@@ -311,23 +311,23 @@ extern int NK_lock_device(){
});
}
-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_name(uint8_t slot_number) {
auto m = NitrokeyManager::instance();
return get_with_string_result([&](){
- return m->get_password_safe_slot_name(slot_number, temporary_password);
+ return m->get_password_safe_slot_name(slot_number);
});
}
-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_login(uint8_t slot_number) {
auto m = NitrokeyManager::instance();
return get_with_string_result([&](){
- return m->get_password_safe_slot_login(slot_number, temporary_password);
+ return m->get_password_safe_slot_login(slot_number);
});
}
-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_password(uint8_t slot_number) {
auto m = NitrokeyManager::instance();
return get_with_string_result([&](){
- return m->get_password_safe_slot_password(slot_number, temporary_password);
+ return m->get_password_safe_slot_password(slot_number);
});
}
extern int NK_write_password_safe_slot(uint8_t slot_number, const char *slot_name, const char *slot_login,