aboutsummaryrefslogtreecommitdiff
path: root/include/NitrokeyManager.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-08-09 13:11:01 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-09 18:34:00 +0200
commit95a4b415b76ff94cd270dcc3c6a53efd8b152914 (patch)
tree8e59280cf8bb043351fca5b091558e6f4aea6253 /include/NitrokeyManager.h
parent344213284962aab6c21bc12331f5306f4a2c79ab (diff)
downloadlibnitrokey-95a4b415b76ff94cd270dcc3c6a53efd8b152914.tar.gz
libnitrokey-95a4b415b76ff94cd270dcc3c6a53efd8b152914.tar.bz2
Return string as char* instead of uint*
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/NitrokeyManager.h')
-rw-r--r--include/NitrokeyManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index c362644..19b54bd 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 char * get_slot_name(uint8_t slot_number);
template <typename ProCommand, PasswordKind StoKind>
void change_PIN_general(char *current_PIN, char *new_PIN);