diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2020-09-19 12:34:23 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2020-09-19 12:34:23 +0200 |
commit | 4e6a182aae63741fad1720208f578f4f003c047b (patch) | |
tree | f4e706cb784570024bc4a7f8ae31b501d5672ea2 | |
parent | 404c90182ca3bcb029f04a604cb5d51ba51096b9 (diff) | |
download | libnitrokey-4e6a182aae63741fad1720208f578f4f003c047b.tar.gz libnitrokey-4e6a182aae63741fad1720208f578f4f003c047b.tar.bz2 |
Correct message
-rw-r--r-- | NK_C_API.h | 4 | ||||
-rw-r--r-- | libnitrokey/NitrokeyManager.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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); /** |