diff options
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_err.c')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_err.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_err.c b/src/lib/libcrypto/rsa/rsa_err.c index 1cde7c0da4..a7766c3b76 100644 --- a/src/lib/libcrypto/rsa/rsa_err.c +++ b/src/lib/libcrypto/rsa/rsa_err.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/rsa.h> | 63 | #include <openssl/rsa.h> |
64 | 64 | ||
65 | /* BEGIN ERROR CODES */ | 65 | /* BEGIN ERROR CODES */ |
66 | #ifndef NO_ERR | 66 | #ifndef OPENSSL_NO_ERR |
67 | static ERR_STRING_DATA RSA_str_functs[]= | 67 | static ERR_STRING_DATA RSA_str_functs[]= |
68 | { | 68 | { |
69 | {ERR_PACK(0,RSA_F_MEMORY_LOCK,0), "MEMORY_LOCK"}, | 69 | {ERR_PACK(0,RSA_F_MEMORY_LOCK,0), "MEMORY_LOCK"}, |
@@ -106,6 +106,7 @@ static ERR_STRING_DATA RSA_str_reasons[]= | |||
106 | {RSA_R_DATA_GREATER_THAN_MOD_LEN ,"data greater than mod len"}, | 106 | {RSA_R_DATA_GREATER_THAN_MOD_LEN ,"data greater than mod len"}, |
107 | {RSA_R_DATA_TOO_LARGE ,"data too large"}, | 107 | {RSA_R_DATA_TOO_LARGE ,"data too large"}, |
108 | {RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE ,"data too large for key size"}, | 108 | {RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE ,"data too large for key size"}, |
109 | {RSA_R_DATA_TOO_LARGE_FOR_MODULUS ,"data too large for modulus"}, | ||
109 | {RSA_R_DATA_TOO_SMALL ,"data too small"}, | 110 | {RSA_R_DATA_TOO_SMALL ,"data too small"}, |
110 | {RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE ,"data too small for key size"}, | 111 | {RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE ,"data too small for key size"}, |
111 | {RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY ,"digest too big for rsa key"}, | 112 | {RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY ,"digest too big for rsa key"}, |
@@ -139,7 +140,7 @@ void ERR_load_RSA_strings(void) | |||
139 | if (init) | 140 | if (init) |
140 | { | 141 | { |
141 | init=0; | 142 | init=0; |
142 | #ifndef NO_ERR | 143 | #ifndef OPENSSL_NO_ERR |
143 | ERR_load_strings(ERR_LIB_RSA,RSA_str_functs); | 144 | ERR_load_strings(ERR_LIB_RSA,RSA_str_functs); |
144 | ERR_load_strings(ERR_LIB_RSA,RSA_str_reasons); | 145 | ERR_load_strings(ERR_LIB_RSA,RSA_str_reasons); |
145 | #endif | 146 | #endif |