diff options
| author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-10-04 18:58:04 +0200 | 
|---|---|---|
| committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-10-10 15:51:17 +0200 | 
| commit | 660a0b6e2d077448b92f4147ca35a9f799daef82 (patch) | |
| tree | 26dbb676c2ecd07492e9a6c4abb1267679c67a1d | |
| parent | b084e6b1e47a11a1c71cf686ccdc35b08b4e17b4 (diff) | |
| download | libnitrokey-660a0b6e2d077448b92f4147ca35a9f799daef82.tar.gz libnitrokey-660a0b6e2d077448b92f4147ca35a9f799daef82.tar.bz2 | |
Increase maximum duplicated string length
To cover Storage's status string getter
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| -rw-r--r-- | NitrokeyManager.cc | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index 0d702eb..9ff146d 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>(); | 
