commit: f830e3cca1cf854ea661e680891a6fa7960fd426 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Wed Aug 28 07:00:25 2024 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Aug 31 11:00:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f830e3cc
app-crypt/qca: remove unused patch Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/38310 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../qca/files/qca-2.3.7-use-sha256-not-sha1.patch | 29 ---------------------- 1 file changed, 29 deletions(-) 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 <[email protected]> -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 -
