https://bugs.exim.org/show_bug.cgi?id=2020

Git Commit <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Git Commit <[email protected]> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/278293d39d5c3f77e6deb4c52a7068ea4a1d48dd

commit 278293d39d5c3f77e6deb4c52a7068ea4a1d48dd
Author:     Kirill Miazine <[email protected]>
AuthorDate: Sun Jan 29 14:55:58 2017 +0000
Commit:     Jeremy Harris <[email protected]>
CommitDate: Sun Jan 29 14:58:53 2017 +0000

    DANE: fix build under LibreSSL.  Bug 2020
---
 src/src/dane-openssl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/src/dane-openssl.c b/src/src/dane-openssl.c
index aa4760b..bb92738 100644
--- a/src/src/dane-openssl.c
+++ b/src/src/dane-openssl.c
@@ -25,7 +25,7 @@
 #if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
 # define X509_up_ref(x) CRYPTO_add(&((x)->references), 1, CRYPTO_LOCK_X509)
 #endif
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
 # define EXIM_HAVE_ASN1_MACROS
 # define EXIM_OPAQUE_X509
 #else
@@ -1658,7 +1658,7 @@ dane_idx = SSL_get_ex_new_index(0, 0, 0, 0, 0);
 }


-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
 static void
 run_once(volatile int * once, void (*init)(void))
 {

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to