diff options
author | Renaud Allard <renaud@allard.it> | 2016-03-07 19:04:34 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-04-06 21:31:27 +0100 |
commit | 11aa88b021174241af47964f39f835f4ec76611b (patch) | |
tree | 70f8396b7f87703af5d3ffa442d6999a19ee39f5 | |
parent | f322340bc278be97bc93a4f8be5a8fd9e913304e (diff) |
TLS: Fix ECDH use under LibreSSL. Bug 1806
-rw-r--r-- | src/src/tls-openssl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 942f73eac..c18cb1c85 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -74,7 +74,10 @@ functions from the OpenSSL library. */ && (OPENSSL_VERSION_NUMBER & 0x0000ff000L) >= 0x000002000L # define EXIM_HAVE_OPENSSL_CHECKHOST # endif +#endif +#if !defined(LIBRESSL_VERSION_NUMBER) \ + || LIBRESSL_VERSION_NUMBER >= 0x20010000L # if !defined(OPENSSL_NO_ECDH) # if OPENSSL_VERSION_NUMBER >= 0x0090800fL # define EXIM_HAVE_ECDH |