summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err/err_all.c
diff options
context:
space:
mode:
authordjm <>2008-09-06 12:17:54 +0000
committerdjm <>2008-09-06 12:17:54 +0000
commit38ce604e3cc97706b876b0525ddff0121115456d (patch)
tree7ccc28afe1789ea3dbedf72365f955d5b8e105b5 /src/lib/libcrypto/err/err_all.c
parent12867252827c8efaa8ddd1fa3b3d6e321e2bcdef (diff)
downloadopenbsd-38ce604e3cc97706b876b0525ddff0121115456d.tar.gz
openbsd-38ce604e3cc97706b876b0525ddff0121115456d.tar.bz2
openbsd-38ce604e3cc97706b876b0525ddff0121115456d.zip
resolve conflicts
Diffstat (limited to 'src/lib/libcrypto/err/err_all.c')
-rw-r--r--src/lib/libcrypto/err/err_all.c25
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
92void ERR_load_crypto_strings(void) 101void 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 }