From f830e3cca1cf854ea661e680891a6fa7960fd426 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Wed, 28 Aug 2024 09:00:25 +0200 Subject: app-crypt/qca: remove unused patch Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/38310 Signed-off-by: Andreas Sturmlechner --- .../qca/files/qca-2.3.7-use-sha256-not-sha1.patch | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 app-crypt/qca/files/qca-2.3.7-use-sha256-not-sha1.patch (limited to 'app-crypt') diff --git a/app-crypt/qca/files/qca-2.3.7-use-sha256-not-sha1.patch b/app-crypt/qca/files/qca-2.3.7-use-sha256-not-sha1.patch deleted file mode 100644 index e16fa76f6c57..000000000000 --- a/app-crypt/qca/files/qca-2.3.7-use-sha256-not-sha1.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 123123453bd4f3ac87ca6dd641a9028e6e7a29f0 Mon Sep 17 00:00:00 2001 -From: Albert Vaca Cintora -Date: Mon, 24 Jul 2023 13:32:30 +0000 -Subject: [PATCH] Sign self-signed certs with SHA256 - ---- - plugins/qca-ossl/qca-ossl.cpp | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/plugins/qca-ossl/qca-ossl.cpp b/plugins/qca-ossl/qca-ossl.cpp -index 893631c9..f340ee2f 100644 ---- a/plugins/qca-ossl/qca-ossl.cpp -+++ b/plugins/qca-ossl/qca-ossl.cpp -@@ -3470,10 +3470,8 @@ public: - X509_EXTENSION *ex; - - const EVP_MD *md; -- if (priv.key()->type() == PKey::RSA) -- md = EVP_sha1(); -- else if (priv.key()->type() == PKey::DSA) -- md = EVP_sha1(); -+ if (priv.key()->type() == PKey::RSA || priv.key()->type() == PKey::DSA) -+ md = EVP_sha256(); - else - return false; - --- -GitLab - -- cgit v1.2.3-65-gdbad