diff options
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r-- | NitrokeyManager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index e0f5fa3..d453f7b 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -215,7 +215,7 @@ namespace nitrokey{ void NitrokeyManager::enable_password_safe(const char *user_pin) { auto p = get_payload<EnablePasswordSafe>(); - strcpyT(p.password, user_pin); + strcpyT(p.user_password, user_pin); EnablePasswordSafe::CommandTransaction::run(*device, p); } |