svn commit: r438929 - head/security/opensc/files
Alex Dupre
ale at FreeBSD.org
Thu Apr 20 07:42:40 UTC 2017
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
More information about the svn-ports-head
mailing list