aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_all.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-10-11 18:42:54 +0000
committerRichard Levitte <levitte@openssl.org>2002-10-11 18:42:54 +0000
commit6ac3309c74e57c9614ca94e9dc2a4300ac35d11d (patch)
tree27d69d4394de0b3dcc2421804305693ef4cd9be7 /crypto/engine/eng_all.c
parent1b15cfa11d0f3671f3b6ea0617cec286a9d983e3 (diff)
downloadopenssl-6ac3309c74e57c9614ca94e9dc2a4300ac35d11d.tar.gz
Step 11a of move of engines: Time to make the changes to support
automatic load of dynamic engines. Unless we don't have shared library support, do not try to load any "built-in" engines except for cryptodev.
Diffstat (limited to 'crypto/engine/eng_all.c')
-rw-r--r--crypto/engine/eng_all.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/engine/eng_all.c b/crypto/engine/eng_all.c
index e4d48dae85..9b0e0bc92e 100644
--- a/crypto/engine/eng_all.c
+++ b/crypto/engine/eng_all.c
@@ -70,6 +70,7 @@ void ENGINE_load_builtin_engines(void)
ENGINE_load_openssl();
#endif
ENGINE_load_dynamic();
+#ifdef OPENSSL_NO_DYNAMIC_ENGINE
#ifndef OPENSSL_NO_HW
#ifndef OPENSSL_NO_HW_CSWIFT
ENGINE_load_cswift();
@@ -95,6 +96,7 @@ void ENGINE_load_builtin_engines(void)
#ifndef OPENSSL_NO_HW_4758_CCA
ENGINE_load_4758cca();
#endif
+#endif
#ifdef __OpenBSD__
ENGINE_load_cryptodev();
#endif