diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bio_err.c')
-rw-r--r-- | src/lib/libcrypto/bio/bio_err.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bio_err.c b/src/lib/libcrypto/bio/bio_err.c index bb815fb1e6..99ca3cd0da 100644 --- a/src/lib/libcrypto/bio/bio_err.c +++ b/src/lib/libcrypto/bio/bio_err.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <openssl/bio.h> | 63 | #include <openssl/bio.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 BIO_str_functs[]= | 67 | static ERR_STRING_DATA BIO_str_functs[]= |
68 | { | 68 | { |
69 | {ERR_PACK(0,BIO_F_ACPT_STATE,0), "ACPT_STATE"}, | 69 | {ERR_PACK(0,BIO_F_ACPT_STATE,0), "ACPT_STATE"}, |
@@ -120,6 +120,7 @@ static ERR_STRING_DATA BIO_str_reasons[]= | |||
120 | {BIO_R_NO_HOSTNAME_SPECIFIED ,"no hostname specified"}, | 120 | {BIO_R_NO_HOSTNAME_SPECIFIED ,"no hostname specified"}, |
121 | {BIO_R_NO_PORT_DEFINED ,"no port defined"}, | 121 | {BIO_R_NO_PORT_DEFINED ,"no port defined"}, |
122 | {BIO_R_NO_PORT_SPECIFIED ,"no port specified"}, | 122 | {BIO_R_NO_PORT_SPECIFIED ,"no port specified"}, |
123 | {BIO_R_NO_SUCH_FILE ,"no such file"}, | ||
123 | {BIO_R_NULL_PARAMETER ,"null parameter"}, | 124 | {BIO_R_NULL_PARAMETER ,"null parameter"}, |
124 | {BIO_R_TAG_MISMATCH ,"tag mismatch"}, | 125 | {BIO_R_TAG_MISMATCH ,"tag mismatch"}, |
125 | {BIO_R_UNABLE_TO_BIND_SOCKET ,"unable to bind socket"}, | 126 | {BIO_R_UNABLE_TO_BIND_SOCKET ,"unable to bind socket"}, |
@@ -141,7 +142,7 @@ void ERR_load_BIO_strings(void) | |||
141 | if (init) | 142 | if (init) |
142 | { | 143 | { |
143 | init=0; | 144 | init=0; |
144 | #ifndef NO_ERR | 145 | #ifndef OPENSSL_NO_ERR |
145 | ERR_load_strings(ERR_LIB_BIO,BIO_str_functs); | 146 | ERR_load_strings(ERR_LIB_BIO,BIO_str_functs); |
146 | ERR_load_strings(ERR_LIB_BIO,BIO_str_reasons); | 147 | ERR_load_strings(ERR_LIB_BIO,BIO_str_reasons); |
147 | #endif | 148 | #endif |