Skip to content

Commit db4d2af

Browse files
authored
Merge pull request #9257 from kareem-wolfssl/zd20595
Fix running tests in FIPS mode with hash DRBG disabled.
2 parents 38df498 + 233e574 commit db4d2af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/api/test_random.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ int test_wc_RNG_TestSeed(void)
325325
{
326326
EXPECT_DECLS;
327327
#if defined(HAVE_HASHDRBG) && \
328-
!(defined(HAVE_FIPS) || defined(HAVE_SELFTEST)) || \
329-
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))
328+
(!(defined(HAVE_FIPS) || defined(HAVE_SELFTEST)) || \
329+
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2)))
330330
byte seed[16];
331331
byte i;
332332

0 commit comments

Comments
 (0)