summaryrefslogtreecommitdiffstats
path: root/crypto/err/err_all.c
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2009-08-16 01:21:16 -0500
committerKenny Root <kenny@the-b.org>2009-08-16 01:21:16 -0500
commit3fae2b72325b3d9654e9bff8a8fae2dccb83fb13 (patch)
treedf3e1462831c96f6cdc53b14699f2646577b3498 /crypto/err/err_all.c
parentcbcd2652d419478b440ae473310e7c149ca96919 (diff)
downloadreplicant_openssl-3fae2b72325b3d9654e9bff8a8fae2dccb83fb13.zip
replicant_openssl-3fae2b72325b3d9654e9bff8a8fae2dccb83fb13.tar.gz
replicant_openssl-3fae2b72325b3d9654e9bff8a8fae2dccb83fb13.tar.bz2
Correct some #ifdef mistakes in OpenSSL code
Some features can be disabled in OpenSSL easily by creating a #define to disable it, but apparently there isn't enough testing for disabling engines and OCSP.
Diffstat (limited to 'crypto/err/err_all.c')
-rw-r--r--crypto/err/err_all.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c
index 5813060..5d0a985 100644
--- a/crypto/err/err_all.c
+++ b/crypto/err/err_all.c
@@ -139,7 +139,9 @@ void ERR_load_crypto_strings(void)
#ifndef OPENSSL_NO_ENGINE
ERR_load_ENGINE_strings();
#endif
+#ifndef OPENSSL_NO_OCSP
ERR_load_OCSP_strings();
+#endif
ERR_load_UI_strings();
#ifndef OPENSSL_NO_CMS
ERR_load_CMS_strings();