Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/trousers/files/
Date: Sat, 01 Sep 2018 18:13:04
Message-Id: 1535825501.046ed1c49505e13af56efe0b592062dd0f7971c7.alonbl@gentoo
1 commit: 046ed1c49505e13af56efe0b592062dd0f7971c7
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 1 18:10:59 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 1 18:11:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=046ed1c4
7
8 app-crypt/trousers: fix libressl-2.7 issue
9
10 Closes: https://bugs.gentoo.org/show_bug.cgi?id=651402
11 Thanks: Reuben Farrelly
12 Package-Manager: Portage-2.3.40, Repoman-2.3.9
13
14 app-crypt/trousers/files/trousers-0.3.14-libressl.patch | 4 +++-
15 1 file changed, 3 insertions(+), 1 deletion(-)
16
17 diff --git a/app-crypt/trousers/files/trousers-0.3.14-libressl.patch b/app-crypt/trousers/files/trousers-0.3.14-libressl.patch
18 index 927626892b1..9ee7c167e21 100644
19 --- a/app-crypt/trousers/files/trousers-0.3.14-libressl.patch
20 +++ b/app-crypt/trousers/files/trousers-0.3.14-libressl.patch
21 @@ -3,6 +3,8 @@ From: Alon Bar-Lev <alon.barlev@×××××.com>
22 Date: Wed, 7 Dec 2016 09:36:34 +0200
23 Subject: [PATCH] tspi: support libressl
24
25 +Bug: https://sourceforge.net/p/trousers/bugs/222/
26 +
27 Signed-off-by: Alon Bar-Lev <alon.barlev@×××××.com>
28 ---
29 src/trspi/crypto/openssl/rsa.c | 2 +-
30 @@ -17,7 +19,7 @@ index 2b1205f..3e56015 100644
31 #endif
32
33 -#if OPENSSL_VERSION_NUMBER < 0x10100001L
34 -+#if OPENSSL_VERSION_NUMBER < 0x10100001L || defined(LIBRESSL_VERSION_NUMBER)
35 ++#if OPENSSL_VERSION_NUMBER < 0x10100001L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
36 static int
37 RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
38 {