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