Home GnuPG

fips: Skip selftests of unsupported PK algos

Description

fips: Skip selftests of unsupported PK algos

* src/fips.c (run_pubkey_selftests): Do not run selftests for disabled
  public key algorithms.

Skip running FIPS selftests that are specific for a public key algorithm
if that algorithm was disabled using the --enable-pubkey-ciphers
configure option.

  • GnuPG-bug-id: T6048
  • Signed-off-by: Clemens Lang <cllang@redhat.com>

Details

Provenance
neverpanicAuthored on Jun 21 2022, 7:00 PM
gniibeCommitted on Jul 1 2022, 9:12 AM
Parents
rC56000fb5c42f: build: Skip PK-specific tests if algo is disabled
Branches
Unknown
Tags
Unknown
Tasks
T6048: Test suite fixes with --enable-pubkey-ciphers=ecc