aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2020-09-19 12:34:23 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2020-09-19 12:34:23 +0200
commit4e6a182aae63741fad1720208f578f4f003c047b (patch)
treef4e706cb784570024bc4a7f8ae31b501d5672ea2
parent404c90182ca3bcb029f04a604cb5d51ba51096b9 (diff)
downloadlibnitrokey-4e6a182aae63741fad1720208f578f4f003c047b.tar.gz
libnitrokey-4e6a182aae63741fad1720208f578f4f003c047b.tar.bz2
Correct message
-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);
/**