gnutls/gnutls-3.7.3-fips-dsa-post.patch
Daiki Ueno 8f121242f9 Don't run power-on self-tests on DSA
Resolves: #2061325
Signed-off-by: Daiki Ueno <dueno@redhat.com>
2022-03-31 11:23:39 +02:00

31 lines
668 B
Diff

From fcef3404733e0839cc0f8d1fcdc5bc0f8edc7e76 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Thu, 31 Mar 2022 11:20:28 +0200
Subject: [PATCH] fips: don't run POST for DSA
Signed-off-by: rpm-build <rpm-build>
---
lib/fips.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/lib/fips.c b/lib/fips.c
index 457a8c0..074e8e1 100644
--- a/lib/fips.c
+++ b/lib/fips.c
@@ -419,12 +419,6 @@ int _gnutls_fips_perform_self_checks2(void)
goto error;
}
- ret = gnutls_pk_self_test(0, GNUTLS_PK_DSA);
- if (ret < 0) {
- gnutls_assert();
- goto error;
- }
-
ret = gnutls_pk_self_test(0, GNUTLS_PK_EC);
if (ret < 0) {
gnutls_assert();
--
2.34.1