From: Richard Levitte Date: Sat, 5 Apr 2003 21:21:26 +0000 (+0000) Subject: Do not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined. X-Git-Tag: BEN_FIPS_TEST_1~38^2~156 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8d570498a268acff0c311c1149f872bf84827583;p=oweals%2Fopenssl.git Do not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined. PR: 564 --- 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 }