From 86ccb91ddbee67c29180247a8038792599eac0c6 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 5 Apr 2003 21:21:29 +0000 Subject: [PATCH] Do not call ENGINE_setup_bsd_cryptodev() when OPENSSL_NO_ENGINE is defined. PR: 564 --- crypto/evp/c_all.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- 2.25.1