[exim-dev] [Bug 2020] DANE fails with LibreSSL

Inizio della pagina
Delete this message
Reply to this message
Autore: admin
Data:  
To: exim-dev
Oggetto: [exim-dev] [Bug 2020] DANE fails with LibreSSL
https://bugs.exim.org/show_bug.cgi?id=2020

Git Commit <git@???> changed:

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


--- Comment #1 from Git Commit <git@???> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/278293d39d5c3f77e6deb4c52a7068ea4a1d48dd

commit 278293d39d5c3f77e6deb4c52a7068ea4a1d48dd
Author:     Kirill Miazine <km@???>
AuthorDate: Sun Jan 29 14:55:58 2017 +0000
Commit:     Jeremy Harris <jgh146exb@???>
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.