summaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 2d63c21..4446d38 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -250,12 +250,6 @@ namespace nitrokey{
assert (is_valid_password_safe_slot_number(slot_number));
auto p = get_payload<GetPasswordSafeSlotName>();
p.slot_number = slot_number;
-
- auto auth = get_payload<UserAuthorize>();
- strcpyT(auth.temporary_password, temporary_password);
- auth.crc_to_authorize = GetPasswordSafeSlotName::CommandTransaction::getCRC(p);
- UserAuthorize::CommandTransaction::run(*device, auth);
-
auto response = GetPasswordSafeSlotName::CommandTransaction::run(*device, p);
return strdup((const char *) response.slot_name);
}