summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2021-12-08 09:52:02 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2021-12-08 09:52:02 +0900
commitea362090fc11caa28643153fc6444442243c8765 (patch)
treede2547b1c51af3565cea5a8657852bbb4607e8fe /src
parent5521cac32d75f2b94894cd5a94deb2c5d25f43a5 (diff)
downloadlibgcrypt-ea362090fc11caa28643153fc6444442243c8765.tar.gz
fips: Disable DSA in FIPS mode.
* cipher/dsa.c (run_selftests): Disable DSA spec in FIPS mode. * src/fips.c (run_pubkey_selftests): Skip DSA power-on selftests. -- GnuPG-bug-id: 5710 Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/fips.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fips.c b/src/fips.c
index 0ab7fecc..bcadc5f2 100644
--- a/src/fips.c
+++ b/src/fips.c
@@ -522,7 +522,6 @@ run_pubkey_selftests (int extended)
static int algos[] =
{
GCRY_PK_RSA,
- GCRY_PK_DSA,
GCRY_PK_ECC,
0
};