diff options
Diffstat (limited to 'src/lib/libcrypto/conf/conf_sap.c')
-rw-r--r-- | src/lib/libcrypto/conf/conf_sap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libcrypto/conf/conf_sap.c b/src/lib/libcrypto/conf/conf_sap.c index 97fb174303..e15c2e5546 100644 --- a/src/lib/libcrypto/conf/conf_sap.c +++ b/src/lib/libcrypto/conf/conf_sap.c | |||
@@ -63,7 +63,9 @@ | |||
63 | #include <openssl/dso.h> | 63 | #include <openssl/dso.h> |
64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
65 | #include <openssl/asn1.h> | 65 | #include <openssl/asn1.h> |
66 | #ifndef OPENSSL_NO_ENGINE | ||
66 | #include <openssl/engine.h> | 67 | #include <openssl/engine.h> |
68 | #endif | ||
67 | 69 | ||
68 | /* This is the automatic configuration loader: it is called automatically by | 70 | /* This is the automatic configuration loader: it is called automatically by |
69 | * OpenSSL when any of a number of standard initialisation functions are called, | 71 | * OpenSSL when any of a number of standard initialisation functions are called, |
@@ -78,8 +80,10 @@ void OPENSSL_config(const char *config_name) | |||
78 | return; | 80 | return; |
79 | 81 | ||
80 | OPENSSL_load_builtin_modules(); | 82 | OPENSSL_load_builtin_modules(); |
83 | #ifndef OPENSSL_NO_ENGINE | ||
81 | /* Need to load ENGINEs */ | 84 | /* Need to load ENGINEs */ |
82 | ENGINE_load_builtin_engines(); | 85 | ENGINE_load_builtin_engines(); |
86 | #endif | ||
83 | /* Add others here? */ | 87 | /* Add others here? */ |
84 | 88 | ||
85 | 89 | ||