From: Richard Levitte Date: Sat, 5 Apr 2003 21:21:29 +0000 (+0000) Subject: Do not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined. X-Git-Tag: OpenSSL_0_9_7b~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86ccb91ddbee67c29180247a8038792599eac0c6;p=openssl 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 af3dd26162..1b31a14e37 100644 --- a/crypto/evp/c_all.c +++ b/crypto/evp/c_all.c @@ -73,7 +73,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 }