commit:     55e1c6ff631293f6d5167659f58b6a0d8afd6bb3
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Mon Jul 11 00:11:50 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 12 02:45:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55e1c6ff

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 <AT> riseup.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/tpm-tools/files/tpm-tools-1.3.9.1-openssl-1.1.patch | 5 +----
 1 file changed, 1 insertion(+), 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
-

Reply via email to