diff options
Diffstat (limited to 'src/lib/libcrypto/err/err_all.c')
| -rw-r--r-- | src/lib/libcrypto/err/err_all.c | 83 |
1 files changed, 48 insertions, 35 deletions
diff --git a/src/lib/libcrypto/err/err_all.c b/src/lib/libcrypto/err/err_all.c index f874268e1a..90029fd159 100644 --- a/src/lib/libcrypto/err/err_all.c +++ b/src/lib/libcrypto/err/err_all.c | |||
| @@ -57,60 +57,73 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include "asn1.h" | 60 | #include <openssl/asn1.h> |
| 61 | #include "bn.h" | 61 | #include <openssl/bn.h> |
| 62 | #include "buffer.h" | 62 | #ifndef OPENSSL_NO_EC |
| 63 | #include "bio.h" | 63 | #include <openssl/ec.h> |
| 64 | #ifndef NO_RSA | ||
| 65 | #include "rsa.h" | ||
| 66 | #endif | 64 | #endif |
| 67 | #ifdef RSAref | 65 | #include <openssl/buffer.h> |
| 68 | #include "rsaref.h" | 66 | #include <openssl/bio.h> |
| 67 | #ifndef OPENSSL_NO_RSA | ||
| 68 | #include <openssl/rsa.h> | ||
| 69 | #endif | 69 | #endif |
| 70 | #ifndef NO_DH | 70 | #ifndef OPENSSL_NO_DH |
| 71 | #include "dh.h" | 71 | #include <openssl/dh.h> |
| 72 | #endif | 72 | #endif |
| 73 | #ifndef NO_DSA | 73 | #ifndef OPENSSL_NO_DSA |
| 74 | #include "dsa.h" | 74 | #include <openssl/dsa.h> |
| 75 | #endif | 75 | #endif |
| 76 | #include "evp.h" | 76 | #include <openssl/evp.h> |
| 77 | #include "objects.h" | 77 | #include <openssl/objects.h> |
| 78 | #include "pem.h" | 78 | #include <openssl/pem2.h> |
| 79 | #include "x509.h" | 79 | #include <openssl/x509.h> |
| 80 | #include "conf.h" | 80 | #include <openssl/x509v3.h> |
| 81 | #include "err.h" | 81 | #include <openssl/conf.h> |
| 82 | #include <openssl/pkcs12.h> | ||
| 83 | #include <openssl/rand.h> | ||
| 84 | #include <openssl/dso.h> | ||
| 85 | #include <openssl/engine.h> | ||
| 86 | #include <openssl/ocsp.h> | ||
| 87 | #include <openssl/err.h> | ||
| 82 | 88 | ||
| 83 | void ERR_load_crypto_strings() | 89 | void ERR_load_crypto_strings(void) |
| 84 | { | 90 | { |
| 85 | static int done=0; | 91 | static int done=0; |
| 86 | 92 | ||
| 87 | if (done) return; | 93 | if (done) return; |
| 88 | done=1; | 94 | done=1; |
| 89 | #ifndef NO_ERR | 95 | #ifndef OPENSSL_NO_ERR |
| 90 | ERR_load_ASN1_strings(); | 96 | ERR_load_ERR_strings(); /* include error strings for SYSerr */ |
| 91 | ERR_load_BN_strings(); | 97 | ERR_load_BN_strings(); |
| 92 | ERR_load_BUF_strings(); | 98 | #ifndef OPENSSL_NO_RSA |
| 93 | ERR_load_BIO_strings(); | ||
| 94 | ERR_load_CONF_strings(); | ||
| 95 | #ifndef NO_RSA | ||
| 96 | #ifdef RSAref | ||
| 97 | ERR_load_RSAREF_strings(); | ||
| 98 | #else | ||
| 99 | ERR_load_RSA_strings(); | 99 | ERR_load_RSA_strings(); |
| 100 | #endif | 100 | #endif |
| 101 | #endif | 101 | #ifndef OPENSSL_NO_DH |
| 102 | #ifndef NO_DH | ||
| 103 | ERR_load_DH_strings(); | 102 | ERR_load_DH_strings(); |
| 104 | #endif | 103 | #endif |
| 105 | #ifndef NO_DSA | ||
| 106 | ERR_load_DSA_strings(); | ||
| 107 | #endif | ||
| 108 | ERR_load_ERR_strings(); | ||
| 109 | ERR_load_EVP_strings(); | 104 | ERR_load_EVP_strings(); |
| 105 | ERR_load_BUF_strings(); | ||
| 110 | ERR_load_OBJ_strings(); | 106 | ERR_load_OBJ_strings(); |
| 111 | ERR_load_PEM_strings(); | 107 | ERR_load_PEM_strings(); |
| 108 | #ifndef OPENSSL_NO_DSA | ||
| 109 | ERR_load_DSA_strings(); | ||
| 110 | #endif | ||
| 112 | ERR_load_X509_strings(); | 111 | ERR_load_X509_strings(); |
| 112 | ERR_load_ASN1_strings(); | ||
| 113 | ERR_load_CONF_strings(); | ||
| 113 | ERR_load_CRYPTO_strings(); | 114 | ERR_load_CRYPTO_strings(); |
| 114 | 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(); | ||
| 122 | ERR_load_PKCS12_strings(); | ||
| 123 | ERR_load_RAND_strings(); | ||
| 124 | ERR_load_DSO_strings(); | ||
| 125 | ERR_load_ENGINE_strings(); | ||
| 126 | ERR_load_OCSP_strings(); | ||
| 127 | ERR_load_UI_strings(); | ||
| 115 | #endif | 128 | #endif |
| 116 | } | 129 | } |
