Home GnuPG

tests/pubkey: Skip tests if PK algo is unavailable

Description

tests/pubkey: Skip tests if PK algo is unavailable

* tests/pubkey.c (check_run, main): Skip tests for unavailable
  algorithms.

When libgcrypt is configured with a non-default --enable-pubkey-ciphers
option, some of the tests cannot be run because the algorithms are not
supported. Skip unsupported tests using preprocessor macros in this
case.

  • 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:01 AM
Parents
rC96fafffeeba5: kdf: Skip tests if hash algo is not available
Branches
Unknown
Tags
Unknown
Tasks
T6048: Test suite fixes with --enable-pubkey-ciphers=ecc