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:
cb22439
)
DANE: fix build with LibreSSL
author
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 11 Jan 2016 13:52:14 +0000
(13:52 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 11 Jan 2016 13:54:47 +0000
(13:54 +0000)
src/src/dane-openssl.c
patch
|
blob
|
history
diff --git
a/src/src/dane-openssl.c
b/src/src/dane-openssl.c
index e5f9f978490ad9b1f84db0cff771cd4c12f7d10a..803fb0652859e4968edfa95aeaed1ba3a3bb861c 100644
(file)
--- a/
src/src/dane-openssl.c
+++ b/
src/src/dane-openssl.c
@@
-20,8
+20,8
@@
# error "OpenSSL 1.0.0 or higher required"
#else /* remainder of file */
# error "OpenSSL 1.0.0 or higher required"
#else /* remainder of file */
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
-#define X509_up_ref(x) CRYPTO_add(&((x)->references), 1, CRYPTO_LOCK_X509)
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|| defined(LIBRESSL_VERSION_NUMBER)
+#
define X509_up_ref(x) CRYPTO_add(&((x)->references), 1, CRYPTO_LOCK_X509)
#endif
#include "danessl.h"
#endif
#include "danessl.h"