summaryrefslogtreecommitdiffstats
path: root/crypto/conf/conf_sap.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-01-30 18:39:26 +0100
committerRichard Levitte <levitte@openssl.org>2003-01-30 18:39:26 +0100
commit0b13e9f055d3f7be066dc2e89fc9f9822b12eca7 (patch)
tree633b5d3e4c9356eaf9816541aaa079a0c3be9194 /crypto/conf/conf_sap.c
parentSummarise the last couple of commits. (diff)
downloadopenssl-0b13e9f055d3f7be066dc2e89fc9f9822b12eca7.tar.xz
openssl-0b13e9f055d3f7be066dc2e89fc9f9822b12eca7.zip
Add the possibility to build without the ENGINE framework.
PR: 287
Diffstat (limited to 'crypto/conf/conf_sap.c')
-rw-r--r--crypto/conf/conf_sap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c
index 97fb174303..e15c2e5546 100644
--- a/crypto/conf/conf_sap.c
+++ b/crypto/conf/conf_sap.c
@@ -63,7 +63,9 @@
#include <openssl/dso.h>
#include <openssl/x509.h>
#include <openssl/asn1.h>
+#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
+#endif
/* This is the automatic configuration loader: it is called automatically by
* OpenSSL when any of a number of standard initialisation functions are called,
@@ -78,8 +80,10 @@ void OPENSSL_config(const char *config_name)
return;
OPENSSL_load_builtin_modules();
+#ifndef OPENSSL_NO_ENGINE
/* Need to load ENGINEs */
ENGINE_load_builtin_engines();
+#endif
/* Add others here? */