From db199abd9ed8b6b0fd1c5aa930dda4f390287651 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 1 Nov 2002 12:37:22 +0000 Subject: [PATCH] Depend on OPENSSL_NO_STATIC_ENGINE rather than OPENSSL_NO_DYNAMIC_ENGINE. Make sure to include openssl/opensslconf.h to make sure we get the definition of those macros. --- crypto/engine/eng_all.c | 2 +- crypto/engine/engine.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/engine/eng_all.c b/crypto/engine/eng_all.c index 9b0e0bc92..6bb7e93bb 100644 --- a/crypto/engine/eng_all.c +++ b/crypto/engine/eng_all.c @@ -70,7 +70,7 @@ void ENGINE_load_builtin_engines(void) ENGINE_load_openssl(); #endif ENGINE_load_dynamic(); -#ifdef OPENSSL_NO_DYNAMIC_ENGINE +#ifndef OPENSSL_NO_STATIC_ENGINE #ifndef OPENSSL_NO_HW #ifndef OPENSSL_NO_HW_CSWIFT ENGINE_load_cswift(); diff --git a/crypto/engine/engine.h b/crypto/engine/engine.h index 3b951eb3e..8ed684c0e 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h @@ -64,6 +64,7 @@ #ifndef HEADER_ENGINE_H #define HEADER_ENGINE_H +#include #include #include #ifndef OPENSSL_NO_RSA