svn commit: r483096 - head/mail/opendkim/files

Steve Wills swills at FreeBSD.org
Sat Oct 27 02:05:03 UTC 2018


Author: swills
Date: Sat Oct 27 02:05:01 2018
New Revision: 483096
URL: https://svnweb.freebsd.org/changeset/ports/483096

Log:
  mail/opendkim: Fix build with LibreSSL 2.8.2
  
  PR:		232481
  Submitted by:	Daniel Austin <freebsd-ports at dan.me.uk> (maintainer)
  Reported by:	Simeon Simeonov <blackmore at pichove.org>

Modified:
  head/mail/opendkim/files/patch-opendkim_opendkim-crypto.c   (contents, props changed)

Modified: head/mail/opendkim/files/patch-opendkim_opendkim-crypto.c
==============================================================================
--- head/mail/opendkim/files/patch-opendkim_opendkim-crypto.c	Sat Oct 27 01:59:28 2018	(r483095)
+++ head/mail/opendkim/files/patch-opendkim_opendkim-crypto.c	Sat Oct 27 02:05:01 2018	(r483096)
@@ -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();


More information about the svn-ports-head mailing list