git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd4f9c9
)
TLS: Fix ECDH use under LibreSSL. Bug 1806
author
Renaud Allard
<renaud@allard.it>
Mon, 7 Mar 2016 19:04:34 +0000
(19:04 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 7 Mar 2016 19:04:34 +0000
(19:04 +0000)
src/src/tls-openssl.c
patch
|
blob
|
history
diff --git
a/src/src/tls-openssl.c
b/src/src/tls-openssl.c
index f45daa767386b1eb768d0b136150b835ed527dcb..9e008e149c5834512e08cc3b5188f7196fde64b2 100644
(file)
--- a/
src/src/tls-openssl.c
+++ b/
src/src/tls-openssl.c
@@
-62,7
+62,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