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.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/NK_C_API.cc b/NK_C_API.cc
index 9b53b49..8ce318f 100644
--- a/NK_C_API.cc
+++ b/NK_C_API.cc
@@ -495,17 +495,17 @@ extern "C" {
});
}
- 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) {
auto m = NitrokeyManager::instance();
return get_without_result([&]() {
- m->set_unencrypted_read_only(user_pin);
+ m->set_unencrypted_read_only(user_admin_pin);
});
}
- 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) {
auto m = NitrokeyManager::instance();
return get_without_result([&]() {
- m->set_unencrypted_read_write(user_pin);
+ m->set_unencrypted_read_write(user_admin_pin);
});
}