Blame SOURCES/gnutls-3.7.3-fips-dsa-post.patch

e79d4b
From 0a29639ad24072afbd79b2ceede9976e51b9e2af Mon Sep 17 00:00:00 2001
e79d4b
From: rpm-build <rpm-build>
e79d4b
Date: Fri, 1 Jul 2022 16:46:07 +0900
e79d4b
Subject: [PATCH] fips: don't run POST for DSA
e79d4b
e79d4b
Signed-off-by: rpm-build <<rpm-build>>
e79d4b
---
e79d4b
 lib/fips.c | 5 -----
e79d4b
 1 file changed, 5 deletions(-)
e79d4b
e79d4b
diff --git a/lib/fips.c b/lib/fips.c
e79d4b
index 656d43e..c776690 100644
e79d4b
--- a/lib/fips.c
e79d4b
+++ b/lib/fips.c
e79d4b
@@ -523,11 +523,6 @@ int _gnutls_fips_perform_self_checks2(void)
e79d4b
 		return gnutls_assert_val(GNUTLS_E_SELF_TEST_ERROR);
e79d4b
 	}
e79d4b
 
e79d4b
-	ret = gnutls_pk_self_test(0, GNUTLS_PK_DSA);
e79d4b
-	if (ret < 0) {
e79d4b
-		return gnutls_assert_val(GNUTLS_E_SELF_TEST_ERROR);
e79d4b
-	}
e79d4b
-
e79d4b
 	ret = gnutls_pk_self_test(0, GNUTLS_PK_EC);
e79d4b
 	if (ret < 0) {
e79d4b
 		return gnutls_assert_val(GNUTLS_E_SELF_TEST_ERROR);
e79d4b
-- 
e79d4b
2.36.1
e79d4b