Home GnuPG

fips: Fix tests in fips mode.

Description

fips: Fix tests in fips mode.

* src/global.c (_gcry_vcontrol): Don't check NO_SECURE_MEMORY for
GCRYCTL_FIPS_MODE_P.
* tests/t-secmem.c (test_secmem): Use smaller value.
  • GnuPG-bug-id: T5520
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Aug 16 2021, 3:45 AM
Parents
rCa5982e35088a: tests/bench-slope: allow non-FIPS ECC benchmarking in non-FIPS mode
Branches
Unknown
Tags
Unknown
Tasks
T5520: Fix tests in FIPS mode