diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-10-28 10:07:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-10-28 10:11:42 -0400 |
commit | d9221968ce3daed75d698f333f8bea0bf742ddf3 (patch) | |
tree | acedf9e0ae3a7ee2cd424add1c414e1f7822b65e | |
parent | 741edf1b458f56f516a02aa72bfae99371b3ec5a (diff) | |
download | tor-d9221968ce3daed75d698f333f8bea0bf742ddf3.tar.gz tor-d9221968ce3daed75d698f333f8bea0bf742ddf3.zip |
Include a more modest openssl header in crypto_openssl_mgt.h
The "engines.h" header has lots of stuff; the "opensslv.h" header
has the version number, which is all we actually need here.
We need to do this because we're about to change this header to
conditionally define OPENSSL_SUPPRESS_DEPRECATED, and it would be
too late to do so if we'd already included "engines.h".
-rw-r--r-- | src/lib/crypt_ops/crypto_openssl_mgt.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/crypt_ops/crypto_openssl_mgt.h b/src/lib/crypt_ops/crypto_openssl_mgt.h index a3dd03aa04..8dbadfc9d2 100644 --- a/src/lib/crypt_ops/crypto_openssl_mgt.h +++ b/src/lib/crypt_ops/crypto_openssl_mgt.h @@ -16,8 +16,7 @@ #include "orconfig.h" #ifdef ENABLE_OPENSSL -#include <openssl/engine.h> - +#include <openssl/opensslv.h> /* Macro to create an arbitrary OpenSSL version number as used by OPENSSL_VERSION_NUMBER or SSLeay(), since the actual numbers are a bit hard |