From 32c425a00458b7e8c7c1edfd293564dc1bee2a6d Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Mon, 18 Mar 2019 20:19:57 +0100 Subject: Revert "Storage v0.54: send slot counter as binary integer, instead of string repr" This reverts commit f3c5653a0193312a47fe52a9132cf0f5a8bd83eb. --- NitrokeyManager.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index 9562be1..7b8deaa 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -556,12 +556,8 @@ using nitrokey::misc::strcpyT; break; } case DeviceModel::STORAGE: { - if (get_minor_firmware_version() <= 53) { - string counter = to_string(hotp_counter); - strcpyT(payload.slot_counter_s, counter.c_str()); - } else { - payload.slot_counter = hotp_counter; - } + string counter = to_string(hotp_counter); + strcpyT(payload.slot_counter_s, counter.c_str()); break; } default: -- cgit v1.2.1