diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/cpt_err.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cpt_err.c b/src/lib/libcrypto/cpt_err.c index 7018b74ca0..1b4a1cb4d4 100644 --- a/src/lib/libcrypto/cpt_err.c +++ b/src/lib/libcrypto/cpt_err.c | |||
| @@ -63,13 +63,18 @@ | |||
| 63 | #include <openssl/crypto.h> | 63 | #include <openssl/crypto.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 CRYPTO_str_functs[]= | 67 | static ERR_STRING_DATA CRYPTO_str_functs[]= |
| 68 | { | 68 | { |
| 69 | {ERR_PACK(0,CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX,0), "CRYPTO_get_ex_new_index"}, | 69 | {ERR_PACK(0,CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX,0), "CRYPTO_get_ex_new_index"}, |
| 70 | {ERR_PACK(0,CRYPTO_F_CRYPTO_GET_NEW_DYNLOCKID,0), "CRYPTO_get_new_dynlockid"}, | 70 | {ERR_PACK(0,CRYPTO_F_CRYPTO_GET_NEW_DYNLOCKID,0), "CRYPTO_get_new_dynlockid"}, |
| 71 | {ERR_PACK(0,CRYPTO_F_CRYPTO_GET_NEW_LOCKID,0), "CRYPTO_get_new_lockid"}, | 71 | {ERR_PACK(0,CRYPTO_F_CRYPTO_GET_NEW_LOCKID,0), "CRYPTO_get_new_lockid"}, |
| 72 | {ERR_PACK(0,CRYPTO_F_CRYPTO_SET_EX_DATA,0), "CRYPTO_set_ex_data"}, | 72 | {ERR_PACK(0,CRYPTO_F_CRYPTO_SET_EX_DATA,0), "CRYPTO_set_ex_data"}, |
| 73 | {ERR_PACK(0,CRYPTO_F_DEF_ADD_INDEX,0), "DEF_ADD_INDEX"}, | ||
| 74 | {ERR_PACK(0,CRYPTO_F_DEF_GET_CLASS,0), "DEF_GET_CLASS"}, | ||
| 75 | {ERR_PACK(0,CRYPTO_F_INT_DUP_EX_DATA,0), "INT_DUP_EX_DATA"}, | ||
| 76 | {ERR_PACK(0,CRYPTO_F_INT_FREE_EX_DATA,0), "INT_FREE_EX_DATA"}, | ||
| 77 | {ERR_PACK(0,CRYPTO_F_INT_NEW_EX_DATA,0), "INT_NEW_EX_DATA"}, | ||
| 73 | {0,NULL} | 78 | {0,NULL} |
| 74 | }; | 79 | }; |
| 75 | 80 | ||
| @@ -88,7 +93,7 @@ void ERR_load_CRYPTO_strings(void) | |||
| 88 | if (init) | 93 | if (init) |
| 89 | { | 94 | { |
| 90 | init=0; | 95 | init=0; |
| 91 | #ifndef NO_ERR | 96 | #ifndef OPENSSL_NO_ERR |
| 92 | ERR_load_strings(ERR_LIB_CRYPTO,CRYPTO_str_functs); | 97 | ERR_load_strings(ERR_LIB_CRYPTO,CRYPTO_str_functs); |
| 93 | ERR_load_strings(ERR_LIB_CRYPTO,CRYPTO_str_reasons); | 98 | ERR_load_strings(ERR_LIB_CRYPTO,CRYPTO_str_reasons); |
| 94 | #endif | 99 | #endif |
