summaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-26 17:20:21 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commitc34196ea22e61c31fa83c22a3b73c19ba04a30bf (patch)
treec540b04aa73be69f8533bc2f9b734eff9a9bf993 /NitrokeyManager.cc
parent664d33c8966f478d6f077a666a39a5b76a235ffa (diff)
downloadlibnitrokey-c34196ea22e61c31fa83c22a3b73c19ba04a30bf.tar.gz
libnitrokey-c34196ea22e61c31fa83c22a3b73c19ba04a30bf.tar.bz2
Prepare setting password safe slots
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc2
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);
}