Date: Thu, 20 Apr 2017 07:42:39 +0000 (UTC) From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438929 - head/security/opensc/files Message-ID: <201704200742.v3K7gdn3064778@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ale Date: Thu Apr 20 07:42:38 2017 New Revision: 438929 URL: https://svnweb.freebsd.org/changeset/ports/438929 Log: Don't load gost algo when compiled against libressl. PR: 218727 Submitted by: xmj Added: head/security/opensc/files/patch-src_pkcs11_openssl.c (contents, props changed) Added: head/security/opensc/files/patch-src_pkcs11_openssl.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/opensc/files/patch-src_pkcs11_openssl.c Thu Apr 20 07:42:38 2017 (r438929) @@ -0,0 +1,11 @@ +--- src/pkcs11/openssl.c.orig 2017-04-20 09:37:43.416459000 +0200 ++++ src/pkcs11/openssl.c 2017-04-20 09:38:01.864084000 +0200 +@@ -180,7 +180,7 @@ + e = ENGINE_by_id("gost"); + if (!e) + { +-#if !defined(OPENSSL_NO_STATIC_ENGINE) && !defined(OPENSSL_NO_GOST) ++#if !defined(OPENSSL_NO_STATIC_ENGINE) && !defined(OPENSSL_NO_GOST) && !defined(LIBRESSL_VERSION_NUMBER) + ENGINE_load_gost(); + e = ENGINE_by_id("gost"); + #else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704200742.v3K7gdn3064778>