From 95a4b415b76ff94cd270dcc3c6a53efd8b152914 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 9 Aug 2016 13:11:01 +0200 Subject: Return string as char* instead of uint* Signed-off-by: Szczepan Zalega --- include/NitrokeyManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 void change_PIN_general(char *current_PIN, char *new_PIN); -- cgit v1.2.3