diff options
author | swills <swills@FreeBSD.org> | 2018-10-27 10:05:01 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2018-10-27 10:05:01 +0800 |
commit | 52865e3c27da684d96d6a257568a0f4535da8c6d (patch) | |
tree | eb87c41685c562fb149b7ddfd9f177588f435dc5 /mail | |
parent | c67303e7f0c441c527171ed5b159f9ef172d467b (diff) | |
download | freebsd-ports-gnome-52865e3c27da684d96d6a257568a0f4535da8c6d.tar.gz freebsd-ports-gnome-52865e3c27da684d96d6a257568a0f4535da8c6d.tar.zst freebsd-ports-gnome-52865e3c27da684d96d6a257568a0f4535da8c6d.zip |
mail/opendkim: Fix build with LibreSSL 2.8.2
PR: 232481
Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> (maintainer)
Reported by: Simeon Simeonov <blackmore@pichove.org>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/opendkim/files/patch-opendkim_opendkim-crypto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/opendkim/files/patch-opendkim_opendkim-crypto.c b/mail/opendkim/files/patch-opendkim_opendkim-crypto.c index db35223e00a5..ea07bcc30c2e 100644 --- a/mail/opendkim/files/patch-opendkim_opendkim-crypto.c +++ b/mail/opendkim/files/patch-opendkim_opendkim-crypto.c @@ -4,7 +4,7 @@ { assert(pthread_setspecific(id_key, ptr) == 0); -+#if OPENSSL_VERSION_NUMBER >= 0x10100000 ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER)) + OPENSSL_thread_stop(); +#else ERR_remove_state(0); @@ -16,7 +16,7 @@ { if (crypto_init_done) { -+#if OPENSSL_VERSION_NUMBER >= 0x10100000 ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER)) + OPENSSL_thread_stop(); +#else CRYPTO_cleanup_all_ex_data(); |