diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-01-11 13:52:14 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-01-11 13:54:47 +0000 |
commit | ae98657dd2f5449aff25d7b5669ae7e273255ca3 (patch) | |
tree | a0370e0599a1acc706c05d449ebbfd40aff766dc /src | |
parent | cb2243935be366d4605e94a1e55c1dcc933b66cd (diff) |
DANE: fix build with LibreSSL
Diffstat (limited to 'src')
-rw-r--r-- | src/src/dane-openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/dane-openssl.c b/src/src/dane-openssl.c index e5f9f9784..803fb0652 100644 --- 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 */ -#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" |