FIPSv2: RNG Update

1. The wolfcrypt test shouldn't check TestSeed() for old FIPS builds.
This commit is contained in:
John Safranek 2018-09-17 15:55:03 -07:00
parent b9a850575f
commit 4aa85f956f

View File

@ -8277,6 +8277,8 @@ int random_test(void)
return ret;
/* Test the seed check function. */
#if !defined(HAVE_FIPS) || \
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))
{
word32 i, outputSz;
@ -8303,7 +8305,7 @@ int random_test(void)
if (ret != 0)
return -6406;
}
#endif
return 0;
}