[exim-dev] [Bug 1806] ECDH fails to initialize with LibreSSL

Startseite
Nachricht löschen
Nachricht beantworten
Autor: admin
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 1806] ECDH fails to initialize with LibreSSL
https://bugs.exim.org/show_bug.cgi?id=1806

Git Commit <git@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git@???


--- Comment #3 from Git Commit <git@???> ---
Git commit:
http://git.exim.org/exim.git/commitdiff/11aa88b021174241af47964f39f835f4ec76611b

commit 11aa88b021174241af47964f39f835f4ec76611b
Author:     Renaud Allard <renaud@???>
AuthorDate: Mon Mar 7 19:04:34 2016 +0000
Commit:     Jeremy Harris <jgh146exb@???>
CommitDate: Wed Apr 6 21:31:27 2016 +0100


    TLS: Fix ECDH use under LibreSSL.  Bug 1806
---
 src/src/tls-openssl.c | 3 +++
 1 file changed, 3 insertions(+)


diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index 942f73e..c18cb1c 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


--
You are receiving this mail because:
You are on the CC list for the bug.