mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-29 10:50:06 +01:00
Fix running tests in FIPS mode with hash DRBG disabled.
This commit is contained in:
@@ -325,8 +325,8 @@ int test_wc_RNG_TestSeed(void)
|
||||
{
|
||||
EXPECT_DECLS;
|
||||
#if defined(HAVE_HASHDRBG) && \
|
||||
!(defined(HAVE_FIPS) || defined(HAVE_SELFTEST)) || \
|
||||
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))
|
||||
(!(defined(HAVE_FIPS) || defined(HAVE_SELFTEST)) || \
|
||||
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)))
|
||||
byte seed[16];
|
||||
byte i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user