summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-03 19:36:52 +0100
committerSam James <sam@gentoo.org>2021-05-03 19:45:43 +0100
commit6548bacdf7c793fe63ea668afde331f1f50faa1b (patch)
tree0200511c436689a004bebcaa35dbeb24b61dee90 /app-crypt
parentapp-crypt/tpm2-tools: drop obsolete LibreSSL patch (diff)
downloadgentoo-6548bacdf7c793fe63ea668afde331f1f50faa1b.tar.gz
gentoo-6548bacdf7c793fe63ea668afde331f1f50faa1b.tar.bz2
gentoo-6548bacdf7c793fe63ea668afde331f1f50faa1b.zip
app-crypt/trousers: drop obsolete LibreSSL patch(es)
Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/trousers/files/trousers-0.3.14-libressl.patch28
-rw-r--r--app-crypt/trousers/files/trousers-0.3.15-libressl.patch31
2 files changed, 0 insertions, 59 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
deleted file mode 100644
index 9ee7c167e219..000000000000
--- a/app-crypt/trousers/files/trousers-0.3.14-libressl.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From b8b1cda430270f03dc556cf9cf7d2fd478101525 Mon Sep 17 00:00:00 2001
-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 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/trspi/crypto/openssl/rsa.c b/src/trspi/crypto/openssl/rsa.c
-index 2b1205f..3e56015 100644
---- a/src/trspi/crypto/openssl/rsa.c
-+++ b/src/trspi/crypto/openssl/rsa.c
-@@ -38,7 +38,7 @@
- #define DEBUG_print_openssl_errors()
- #endif
-
--#if OPENSSL_VERSION_NUMBER < 0x10100001L
-+#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)
- {
---
-2.7.3
-
diff --git a/app-crypt/trousers/files/trousers-0.3.15-libressl.patch b/app-crypt/trousers/files/trousers-0.3.15-libressl.patch
deleted file mode 100644
index e4aee00d8d97..000000000000
--- a/app-crypt/trousers/files/trousers-0.3.15-libressl.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 88e90ee4c36f0decdf7c15e271bccb8b0809a21a Mon Sep 17 00:00:00 2001
-From: Stefan Strogin <stefan@steils.org>
-Date: Tue, 24 Nov 2020 11:08:13 +0200
-Subject: [PATCH] trousers: do not re-declare RSA_set0_key with LibreSSL
-
-The method RSA_set0_key is provided by LibreSSL since 2.7.0, that means
-in all currently supported versions.
-
-Upstream-Status: Submitted
-[https://sourceforge.net/p/trousers/trousers/merge-requests/2/]
-Signed-off-by: Stefan Strogin <stefan@steils.org>
----
- src/trspi/crypto/openssl/rsa.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/trspi/crypto/openssl/rsa.c b/src/trspi/crypto/openssl/rsa.c
-index 24f13e7..cf46c08 100644
---- a/src/trspi/crypto/openssl/rsa.c
-+++ b/src/trspi/crypto/openssl/rsa.c
-@@ -38,7 +38,7 @@
- #define DEBUG_print_openssl_errors()
- #endif
-
--#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100001L)
- static int
- RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
- {
---
-2.29.2
-