summaryrefslogtreecommitdiff
path: root/lib/libcrypto/err/err_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/err/err_all.c')
-rw-r--r--lib/libcrypto/err/err_all.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libcrypto/err/err_all.c b/lib/libcrypto/err/err_all.c
index 90029fd159f..dc505d9d9d4 100644
--- a/lib/libcrypto/err/err_all.c
+++ b/lib/libcrypto/err/err_all.c
@@ -82,7 +82,9 @@
#include <openssl/pkcs12.h>
#include <openssl/rand.h>
#include <openssl/dso.h>
+#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
+#endif
#include <openssl/ocsp.h>
#include <openssl/err.h>
@@ -122,7 +124,9 @@ void ERR_load_crypto_strings(void)
ERR_load_PKCS12_strings();
ERR_load_RAND_strings();
ERR_load_DSO_strings();
+#ifndef OPENSSL_NO_ENGINE
ERR_load_ENGINE_strings();
+#endif
ERR_load_OCSP_strings();
ERR_load_UI_strings();
#endif