diff options
Diffstat (limited to 'src/lib/libcrypto/err/err_all.c')
-rw-r--r-- | src/lib/libcrypto/err/err_all.c | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/src/lib/libcrypto/err/err_all.c b/src/lib/libcrypto/err/err_all.c index b8315d8272..90029fd159 100644 --- a/src/lib/libcrypto/err/err_all.c +++ b/src/lib/libcrypto/err/err_all.c | |||
@@ -59,18 +59,18 @@ | |||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include <openssl/asn1.h> | 60 | #include <openssl/asn1.h> |
61 | #include <openssl/bn.h> | 61 | #include <openssl/bn.h> |
62 | #ifndef OPENSSL_NO_EC | ||
63 | #include <openssl/ec.h> | ||
64 | #endif | ||
62 | #include <openssl/buffer.h> | 65 | #include <openssl/buffer.h> |
63 | #include <openssl/bio.h> | 66 | #include <openssl/bio.h> |
64 | #ifndef NO_RSA | 67 | #ifndef OPENSSL_NO_RSA |
65 | #include <openssl/rsa.h> | 68 | #include <openssl/rsa.h> |
66 | #endif | 69 | #endif |
67 | #ifdef RSAref | 70 | #ifndef OPENSSL_NO_DH |
68 | #include <openssl/rsaref.h> | ||
69 | #endif | ||
70 | #ifndef NO_DH | ||
71 | #include <openssl/dh.h> | 71 | #include <openssl/dh.h> |
72 | #endif | 72 | #endif |
73 | #ifndef NO_DSA | 73 | #ifndef OPENSSL_NO_DSA |
74 | #include <openssl/dsa.h> | 74 | #include <openssl/dsa.h> |
75 | #endif | 75 | #endif |
76 | #include <openssl/evp.h> | 76 | #include <openssl/evp.h> |
@@ -83,6 +83,7 @@ | |||
83 | #include <openssl/rand.h> | 83 | #include <openssl/rand.h> |
84 | #include <openssl/dso.h> | 84 | #include <openssl/dso.h> |
85 | #include <openssl/engine.h> | 85 | #include <openssl/engine.h> |
86 | #include <openssl/ocsp.h> | ||
86 | #include <openssl/err.h> | 87 | #include <openssl/err.h> |
87 | 88 | ||
88 | void ERR_load_crypto_strings(void) | 89 | void ERR_load_crypto_strings(void) |
@@ -91,36 +92,38 @@ void ERR_load_crypto_strings(void) | |||
91 | 92 | ||
92 | if (done) return; | 93 | if (done) return; |
93 | done=1; | 94 | done=1; |
94 | #ifndef NO_ERR | 95 | #ifndef OPENSSL_NO_ERR |
95 | ERR_load_ASN1_strings(); | 96 | ERR_load_ERR_strings(); /* include error strings for SYSerr */ |
96 | ERR_load_BN_strings(); | 97 | ERR_load_BN_strings(); |
97 | ERR_load_BUF_strings(); | 98 | #ifndef OPENSSL_NO_RSA |
98 | ERR_load_BIO_strings(); | ||
99 | ERR_load_CONF_strings(); | ||
100 | #ifndef NO_RSA | ||
101 | #ifdef RSAref | ||
102 | ERR_load_RSAREF_strings(); | ||
103 | #else | ||
104 | ERR_load_RSA_strings(); | 99 | ERR_load_RSA_strings(); |
105 | #endif | 100 | #endif |
106 | #endif | 101 | #ifndef OPENSSL_NO_DH |
107 | #ifndef NO_DH | ||
108 | ERR_load_DH_strings(); | 102 | ERR_load_DH_strings(); |
109 | #endif | 103 | #endif |
110 | #ifndef NO_DSA | ||
111 | ERR_load_DSA_strings(); | ||
112 | #endif | ||
113 | ERR_load_ERR_strings(); | ||
114 | ERR_load_EVP_strings(); | 104 | ERR_load_EVP_strings(); |
105 | ERR_load_BUF_strings(); | ||
115 | ERR_load_OBJ_strings(); | 106 | ERR_load_OBJ_strings(); |
116 | ERR_load_PEM_strings(); | 107 | ERR_load_PEM_strings(); |
108 | #ifndef OPENSSL_NO_DSA | ||
109 | ERR_load_DSA_strings(); | ||
110 | #endif | ||
117 | ERR_load_X509_strings(); | 111 | ERR_load_X509_strings(); |
118 | ERR_load_X509V3_strings(); | 112 | ERR_load_ASN1_strings(); |
113 | ERR_load_CONF_strings(); | ||
119 | ERR_load_CRYPTO_strings(); | 114 | ERR_load_CRYPTO_strings(); |
120 | ERR_load_PKCS7_strings(); | 115 | #ifndef OPENSSL_NO_EC |
116 | ERR_load_EC_strings(); | ||
117 | #endif | ||
118 | /* skip ERR_load_SSL_strings() because it is not in this library */ | ||
119 | ERR_load_BIO_strings(); | ||
120 | ERR_load_PKCS7_strings(); | ||
121 | ERR_load_X509V3_strings(); | ||
121 | ERR_load_PKCS12_strings(); | 122 | ERR_load_PKCS12_strings(); |
122 | ERR_load_RAND_strings(); | 123 | ERR_load_RAND_strings(); |
123 | ERR_load_DSO_strings(); | 124 | ERR_load_DSO_strings(); |
124 | ERR_load_ENGINE_strings(); | 125 | ERR_load_ENGINE_strings(); |
126 | ERR_load_OCSP_strings(); | ||
127 | ERR_load_UI_strings(); | ||
125 | #endif | 128 | #endif |
126 | } | 129 | } |