commit: 046ed1c49505e13af56efe0b592062dd0f7971c7 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> AuthorDate: Sat Sep 1 18:10:59 2018 +0000 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> CommitDate: Sat Sep 1 18:11:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=046ed1c4
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 app-crypt/trousers/files/trousers-0.3.14-libressl.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 927626892b1..9ee7c167e21 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 <[email protected]> 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 <[email protected]> --- 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) {
