summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-07-10 17:11:50 -0700
committerSam James <sam@gentoo.org>2022-07-12 03:45:41 +0100
commit55e1c6ff631293f6d5167659f58b6a0d8afd6bb3 (patch)
tree55351a096307b6c87269c8a75fe981772ee1da90 /app-crypt/tpm-tools/files/tpm-tools-1.3.9.1-openssl-1.1.patch
parentsys-apps/pciutils: Stabilize 3.8.0-r1 arm64, #857717 (diff)
downloadgentoo-55e1c6ff631293f6d5167659f58b6a0d8afd6bb3.tar.gz
gentoo-55e1c6ff631293f6d5167659f58b6a0d8afd6bb3.tar.bz2
gentoo-55e1c6ff631293f6d5167659f58b6a0d8afd6bb3.zip
app-crypt/tpm-tools: Remove libressl support
This removes outdated libressl checks from the openssl-1.1.patch which are no longer required for the libressl overlay. Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt/tpm-tools/files/tpm-tools-1.3.9.1-openssl-1.1.patch')
-rw-r--r--app-crypt/tpm-tools/files/tpm-tools-1.3.9.1-openssl-1.1.patch5
1 files changed, 1 insertions, 4 deletions
diff --git a/app-crypt/tpm-tools/files/tpm-tools-1.3.9.1-openssl-1.1.patch b/app-crypt/tpm-tools/files/tpm-tools-1.3.9.1-openssl-1.1.patch
index a5747dbca709..ae31af025851 100644
--- a/app-crypt/tpm-tools/files/tpm-tools-1.3.9.1-openssl-1.1.patch
+++ b/app-crypt/tpm-tools/files/tpm-tools-1.3.9.1-openssl-1.1.patch
@@ -17,7 +17,7 @@ index f534717..33c76e7 100644
#include <openssl/evp.h>
#include <openssl/err.h>
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+static void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) {
+ if ( n )
+ *n = r->n;
@@ -236,6 +236,3 @@ index f534717..33c76e7 100644
rc = 0;
---
-2.19.2
-