Home GnuPG

tests: Skip unavailable ciphers in FIPS mode.

Description

tests: Skip unavailable ciphers in FIPS mode.

* tests/basic.c (_check_poly1305_cipher):
(check_ocb_cipher_largebuf_split): Skip unavailable ciphers when
IN_FIPS_MODE.
(check_ocb_cipher_checksum, check_gost28147_cipher_basic): Likewise.
  • GnuPG-bug-id: T5520
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 7 2021, 8:52 AM
Parents
rC297d31294333: tests: Fix messages to STDERR when FIPS mode is enabled.
Branches
Unknown
Tags
Unknown
Tasks
T5520: Fix tests in FIPS mode