aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/err/err_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/err/err_all.c')
-rw-r--r--crypto/err/err_all.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c
index 812ab7cbe6..6da4326b2a 100644
--- a/crypto/err/err_all.c
+++ b/crypto/err/err_all.c
@@ -88,7 +88,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>
@@ -134,7 +136,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