summaryrefslogtreecommitdiffstats
path: root/crypto/evp/c_all.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-04-05 21:21:26 +0000
committerRichard Levitte <levitte@openssl.org>2003-04-05 21:21:26 +0000
commit8d570498a268acff0c311c1149f872bf84827583 (patch)
treeaf31a1fee2d7e08fabe9ef61835aa6f432c05851 /crypto/evp/c_all.c
parent4c771796d59f895c58e88bb7161fc0d711d05604 (diff)
Do not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined.
PR: 564
Diffstat (limited to 'crypto/evp/c_all.c')
-rw-r--r--crypto/evp/c_all.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/evp/c_all.c b/crypto/evp/c_all.c
index 19737f39f6..879d84ae79 100644
--- a/crypto/evp/c_all.c
+++ b/crypto/evp/c_all.c
@@ -74,7 +74,9 @@ void OPENSSL_add_all_algorithms_noconf(void)
{
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
-#if defined(__OpenBSD__) || defined(__FreeBSD__)
+#ifndef OPENSSL_NO_ENGINE
+# if defined(__OpenBSD__) || defined(__FreeBSD__)
ENGINE_setup_bsd_cryptodev();
+# endif
#endif
}