aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NitrokeyManager.cc2
-rw-r--r--include/NitrokeyManager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index fb23ca1..83412b1 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -208,7 +208,7 @@ namespace nitrokey{
return (const char *) get_slot_name(slot_number);
}
- uint8_t *NitrokeyManager::get_slot_name(uint8_t slot_number) const { //FIXME -const s/uint/char:string
+ uint8_t *NitrokeyManager::get_slot_name(uint8_t slot_number) { //FIXME -const s/uint/char:string
auto payload = get_payload<GetSlotName>();
payload.slot_number = slot_number;
auto resp = GetSlotName::CommandTransaction::run(*device, payload);
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index ca8ce78..c362644 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -95,7 +95,7 @@ namespace nitrokey {
uint8_t get_internal_slot_number_for_hotp(uint8_t slot_number) const;
uint8_t get_internal_slot_number_for_totp(uint8_t slot_number) const;
bool erase_slot(uint8_t slot_number, const char *temporary_password);
- uint8_t *get_slot_name(uint8_t slot_number) const;
+ uint8_t *get_slot_name(uint8_t slot_number);
template <typename ProCommand, PasswordKind StoKind>
void change_PIN_general(char *current_PIN, char *new_PIN);