diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-01 12:37:22 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-01 12:37:22 +0000 |
commit | db199abd9ed8b6b0fd1c5aa930dda4f390287651 (patch) | |
tree | 642ff7c7668a6899ff11a2ab8744821d4aa9b537 /crypto/engine | |
parent | b6d0defb985586ea0ab0bb35ce3cf9fda6bd31c8 (diff) |
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.
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/eng_all.c | 2 | ||||
-rw-r--r-- | crypto/engine/engine.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/crypto/engine/eng_all.c b/crypto/engine/eng_all.c index 9b0e0bc92e..6bb7e93bb2 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 3b951eb3e2..8ed684c0ea 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h @@ -64,6 +64,7 @@ #ifndef HEADER_ENGINE_H #define HEADER_ENGINE_H +#include <openssl/opensslconf.h> #include <openssl/ossl_typ.h> #include <openssl/bn.h> #ifndef OPENSSL_NO_RSA |