From 4e6a182aae63741fad1720208f578f4f003c047b Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 19 Sep 2020 12:34:23 +0200 Subject: Correct message --- NK_C_API.h | 4 ++-- libnitrokey/NitrokeyManager.h | 4 ++-- 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); /** -- cgit v1.2.3