aboutsummaryrefslogtreecommitdiff
path: root/security/opensc
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2017-04-20 07:42:38 +0000
committerAlex Dupre <ale@FreeBSD.org>2017-04-20 07:42:38 +0000
commit7d52390f58ea400ac98e481f6650cfc5eb20d859 (patch)
treea1ec65a6d2d30320fc003c183c49e54a02a8deb1 /security/opensc
parent6c9ecc6a7a3faea2b620234ba0b3779db27ac71b (diff)
downloadports-7d52390f58ea400ac98e481f6650cfc5eb20d859.tar.gz
ports-7d52390f58ea400ac98e481f6650cfc5eb20d859.zip
Notes
Diffstat (limited to 'security/opensc')
-rw-r--r--security/opensc/files/patch-src_pkcs11_openssl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/opensc/files/patch-src_pkcs11_openssl.c b/security/opensc/files/patch-src_pkcs11_openssl.c
new file mode 100644
index 000000000000..6af255f8d054
--- /dev/null
+++ b/security/opensc/files/patch-src_pkcs11_openssl.c
@@ -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