Home GnuPG

tests: Fix messages to STDERR when FIPS mode is enabled.

Description

tests: Fix messages to STDERR when FIPS mode is enabled.

* tests/basic.c (check_digests): Emit message when IN_FIPS_MODE.
(check_hmac, check_mac): Likewise.
  • GnuPG-bug-id: T5520
  • Co-authored-by: Jakub Jelen <jjelen@redhat.com>
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 7 2021, 8:09 AM
Parents
rC4b76fa6a1f92: rinjdael-s390x: fix UBSAN warning on using index beyond end of array
Branches
Unknown
Tags
Unknown
Tasks
T5520: Fix tests in FIPS mode