Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2018 02:05:02 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483096 - head/mail/opendkim/files
Message-ID:  <201810270205.w9R252Af051208@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@dan.me.uk> (maintainer)
  Reported by:	Simeon Simeonov <blackmore@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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810270205.w9R252Af051208>