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 a03ef53..b29b27d 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -471,7 +471,7 @@ using nitrokey::misc::strcpyT;
return get_slot_name(slot_number);
}
- static const int max_string_field_length = 100;
+ static const int max_string_field_length = 2*1024; //storage's status string is ~1k
const char * NitrokeyManager::get_slot_name(uint8_t slot_number) {
auto payload = get_payload<GetSlotName>();