diff options
author | djm <> | 2008-09-06 12:15:56 +0000 |
---|---|---|
committer | djm <> | 2008-09-06 12:15:56 +0000 |
commit | 5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80 (patch) | |
tree | aba68249883aa9d2361d92eef69a81d0c4961732 /src/lib/libcrypto/err/err_all.c | |
parent | f6198d4d0ab97685dc56be2d48715ed39fcc74b9 (diff) | |
download | openbsd-5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80.tar.gz openbsd-5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80.tar.bz2 openbsd-5a3c0a05c7f2c5d3c584b7c8d6aec836dd724c80.zip |
import of OpenSSL 0.9.8h
Diffstat (limited to 'src/lib/libcrypto/err/err_all.c')
-rw-r--r-- | src/lib/libcrypto/err/err_all.c | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/src/lib/libcrypto/err/err_all.c b/src/lib/libcrypto/err/err_all.c index 4dc9300892..5813060ce2 100644 --- a/src/lib/libcrypto/err/err_all.c +++ b/src/lib/libcrypto/err/err_all.c | |||
@@ -73,6 +73,12 @@ | |||
73 | #ifndef OPENSSL_NO_DSA | 73 | #ifndef OPENSSL_NO_DSA |
74 | #include <openssl/dsa.h> | 74 | #include <openssl/dsa.h> |
75 | #endif | 75 | #endif |
76 | #ifndef OPENSSL_NO_ECDSA | ||
77 | #include <openssl/ecdsa.h> | ||
78 | #endif | ||
79 | #ifndef OPENSSL_NO_ECDH | ||
80 | #include <openssl/ecdh.h> | ||
81 | #endif | ||
76 | #include <openssl/evp.h> | 82 | #include <openssl/evp.h> |
77 | #include <openssl/objects.h> | 83 | #include <openssl/objects.h> |
78 | #include <openssl/pem2.h> | 84 | #include <openssl/pem2.h> |
@@ -85,16 +91,15 @@ | |||
85 | #ifndef OPENSSL_NO_ENGINE | 91 | #ifndef OPENSSL_NO_ENGINE |
86 | #include <openssl/engine.h> | 92 | #include <openssl/engine.h> |
87 | #endif | 93 | #endif |
94 | #include <openssl/ui.h> | ||
88 | #include <openssl/ocsp.h> | 95 | #include <openssl/ocsp.h> |
89 | #include <openssl/err.h> | 96 | #include <openssl/err.h> |
90 | #include <openssl/fips.h> | 97 | #ifndef OPENSSL_NO_CMS |
98 | #include <openssl/cms.h> | ||
99 | #endif | ||
91 | 100 | ||
92 | void ERR_load_crypto_strings(void) | 101 | void ERR_load_crypto_strings(void) |
93 | { | 102 | { |
94 | static int done=0; | ||
95 | |||
96 | if (done) return; | ||
97 | done=1; | ||
98 | #ifndef OPENSSL_NO_ERR | 103 | #ifndef OPENSSL_NO_ERR |
99 | ERR_load_ERR_strings(); /* include error strings for SYSerr */ | 104 | ERR_load_ERR_strings(); /* include error strings for SYSerr */ |
100 | ERR_load_BN_strings(); | 105 | ERR_load_BN_strings(); |
@@ -118,6 +123,12 @@ void ERR_load_crypto_strings(void) | |||
118 | #ifndef OPENSSL_NO_EC | 123 | #ifndef OPENSSL_NO_EC |
119 | ERR_load_EC_strings(); | 124 | ERR_load_EC_strings(); |
120 | #endif | 125 | #endif |
126 | #ifndef OPENSSL_NO_ECDSA | ||
127 | ERR_load_ECDSA_strings(); | ||
128 | #endif | ||
129 | #ifndef OPENSSL_NO_ECDH | ||
130 | ERR_load_ECDH_strings(); | ||
131 | #endif | ||
121 | /* skip ERR_load_SSL_strings() because it is not in this library */ | 132 | /* skip ERR_load_SSL_strings() because it is not in this library */ |
122 | ERR_load_BIO_strings(); | 133 | ERR_load_BIO_strings(); |
123 | ERR_load_PKCS7_strings(); | 134 | ERR_load_PKCS7_strings(); |
@@ -130,8 +141,8 @@ void ERR_load_crypto_strings(void) | |||
130 | #endif | 141 | #endif |
131 | ERR_load_OCSP_strings(); | 142 | ERR_load_OCSP_strings(); |
132 | ERR_load_UI_strings(); | 143 | ERR_load_UI_strings(); |
144 | #ifndef OPENSSL_NO_CMS | ||
145 | ERR_load_CMS_strings(); | ||
133 | #endif | 146 | #endif |
134 | #ifdef OPENSSL_FIPS | ||
135 | ERR_load_FIPS_strings(); | ||
136 | #endif | 147 | #endif |
137 | } | 148 | } |