aboutsummaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-08-04 12:06:24 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-05 10:19:24 +0200
commit0b815024360897deadd575f88d225930d2db59b5 (patch)
treef3ea1d1cc9d04b138c32a2045d29ea125db7c9fb /NitrokeyManager.cc
parent23ee39aef3d6645952e60a1818d1434ef730838d (diff)
downloadlibnitrokey-0b815024360897deadd575f88d225930d2db59b5.tar.gz
libnitrokey-0b815024360897deadd575f88d225930d2db59b5.tar.bz2
Remove commented code
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 488c5fe..f7b3492 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -186,11 +186,8 @@ namespace nitrokey{
strcpyT(auth.temporary_password, temporary_password);
auth.crc_to_authorize = WriteToTOTPSlot::CommandTransaction::getCRC(payload);
Authorize::CommandTransaction::run(*device, auth);
-// auto auth_successful = device->last_command_sucessfull();
auto resp = WriteToTOTPSlot::CommandTransaction::run(*device, payload);
-// auto write_successful = device->last_command_sucessfull();
-// return auth_successful && write_successful; //left to show alternative approach
return true;
}