aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorbrnrd <brnrd@FreeBSD.org>2018-04-22 04:38:38 +0800
committerbrnrd <brnrd@FreeBSD.org>2018-04-22 04:38:38 +0800
commitb3494d853c10ba59f1c41e5a416bce1a2e7c577a (patch)
treeca81f9f15fb46bc4211080ec9f189777d7560b04 /security
parenta71535352250e4e1e679f973a9b3375146e7aa23 (diff)
downloadfreebsd-ports-gnome-b3494d853c10ba59f1c41e5a416bce1a2e7c577a.tar.gz
freebsd-ports-gnome-b3494d853c10ba59f1c41e5a416bce1a2e7c577a.tar.zst
freebsd-ports-gnome-b3494d853c10ba59f1c41e5a416bce1a2e7c577a.zip
security/trousers: Fix build with LibreSSl 2.7
- LibreSSL 2.7 adds OpenSSL 1.1 API PR: 227169 Approved by: maintainer time-out
Diffstat (limited to 'security')
-rw-r--r--security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c b/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c
index 3ed356589fb6..8208fa815c92 100644
--- a/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c
+++ b/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c
@@ -5,7 +5,7 @@
#endif
-#if OPENSSL_VERSION_NUMBER < 0x10100001L
-+#if OPENSSL_VERSION_NUMBER < 0x10100001L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100001L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
static int
RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
{