Home GnuPG

tests: Conditionalize other algorithms that might not be built-in

Description

tests: Conditionalize other algorithms that might not be built-in

* tests/basic.c (check_cbc_mac_cipher): Do not run DES tests without DES
  being built-in.
  (check_ecb_cipher): Do not run blowfish and DES tests without them
  being built-in
  (check_cfb_cipher): Do not run DES tests without DES being built-in.
  (check_ccm_cipher): Do not run camellia tests without it being
  built-in.
  (check_ocb_cipher): Do not run Camellia, Twofish and Serpent tests
  without them being built-in.
  (check_digests): Do not run SM3 tests without them being built-in.
  (check_digests): Do not run DES, Camellia and GOST tests without them
  being built-in.
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Dec 2 2021, 1:59 PM
gniibeCommitted on Dec 6 2021, 1:42 AM
Parents
rCb601ef4dc9f9: tests: Unbreak tests with SM4 disabled
Branches
Unknown
Tags
Unknown