From 8d570498a268acff0c311c1149f872bf84827583 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 5 Apr 2003 21:21:26 +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 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 } -- 2.25.1