summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2018-09-01 21:10:59 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2018-09-01 21:11:41 +0300
commit046ed1c49505e13af56efe0b592062dd0f7971c7 (patch)
tree219e9356e668d75caa0345665230fc51156ff533 /app-crypt/trousers
parentdev-libs/apr: move builddir to /usr/share/$PN (diff)
downloadgentoo-046ed1c49505e13af56efe0b592062dd0f7971c7.tar.gz
gentoo-046ed1c49505e13af56efe0b592062dd0f7971c7.tar.bz2
gentoo-046ed1c49505e13af56efe0b592062dd0f7971c7.zip
app-crypt/trousers: fix libressl-2.7 issue
Closes: https://bugs.gentoo.org/show_bug.cgi?id=651402 Thanks: Reuben Farrelly Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-crypt/trousers')
-rw-r--r--app-crypt/trousers/files/trousers-0.3.14-libressl.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-crypt/trousers/files/trousers-0.3.14-libressl.patch b/app-crypt/trousers/files/trousers-0.3.14-libressl.patch
index 927626892b19..9ee7c167e219 100644
--- a/app-crypt/trousers/files/trousers-0.3.14-libressl.patch
+++ b/app-crypt/trousers/files/trousers-0.3.14-libressl.patch
@@ -3,6 +3,8 @@ From: Alon Bar-Lev <alon.barlev@gmail.com>
Date: Wed, 7 Dec 2016 09:36:34 +0200
Subject: [PATCH] tspi: support libressl
+Bug: https://sourceforge.net/p/trousers/bugs/222/
+
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
---
src/trspi/crypto/openssl/rsa.c | 2 +-
@@ -17,7 +19,7 @@ index 2b1205f..3e56015 100644
#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)
{