aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NK_C_API.h4
-rw-r--r--libnitrokey/NitrokeyManager.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index 0c74042..68fb56c 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -837,7 +837,7 @@ extern "C" {
* @param user_pin 20 characters User PIN
* @return command processing error code
*/
- //[[deprecated("NK_set_unencrypted_read_only is deprecated. Use NK_set_unencrypted_read_only_admin instead")]]
+ //[[deprecated("Use NK_set_unencrypted_read_only_admin instead")]]
DEPRECATED
NK_C_API int NK_set_unencrypted_read_only(const char *user_pin);
@@ -851,7 +851,7 @@ extern "C" {
* @param user_pin 20 characters User PIN
* @return command processing error code
*/
- //[[deprecated("NK_set_unencrypted_read_write is deprecated. Use NK_set_unencrypted_read_write_admin instead")]]
+ //[[deprecated("Use NK_set_unencrypted_read_write_admin instead")]]
DEPRECATED
NK_C_API int NK_set_unencrypted_read_write(const char *user_pin);
diff --git a/libnitrokey/NitrokeyManager.h b/libnitrokey/NitrokeyManager.h
index 619b1ad..cb7cfce 100644
--- a/libnitrokey/NitrokeyManager.h
+++ b/libnitrokey/NitrokeyManager.h
@@ -158,7 +158,7 @@ char * strndup(const char* str, size_t maxlen);
* Does nothing otherwise.
* @param user_pin User PIN
*/
- [[deprecated("set_unencrypted_read_only is deprecated. Use set_unencrypted_read_only_admin instead.")]]
+ [[deprecated("Use set_unencrypted_read_only_admin instead.")]]
void set_unencrypted_read_only(const char *user_pin);
/**
@@ -175,7 +175,7 @@ char * strndup(const char* str, size_t maxlen);
* Does nothing otherwise.
* @param user_pin User PIN
*/
- [[deprecated("set_unencrypted_read_write is deprecated. Use set_unencrypted_read_write_admin instead")]]
+ [[deprecated("Use set_unencrypted_read_write_admin instead")]]
void set_unencrypted_read_write(const char *user_pin);
/**