aboutsummaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
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 7f3bfd0..4c2c834 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -198,7 +198,7 @@ namespace nitrokey{
}
case DeviceModel::STORAGE: {
std::string counter = std::to_string(hotp_counter);
- strcpyT(payload.slot_counter, counter.c_str());
+ strcpyT(payload.slot_counter_s, counter.c_str());
break;
}
default: