forked from wolfSSL/wolfssl
FIPSv2: RNG Update
1. The wolfcrypt test shouldn't check TestSeed() for old FIPS builds.
This commit is contained in:
@ -8277,6 +8277,8 @@ int random_test(void)
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
/* Test the seed check function. */
|
/* Test the seed check function. */
|
||||||
|
#if !defined(HAVE_FIPS) || \
|
||||||
|
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))
|
||||||
{
|
{
|
||||||
word32 i, outputSz;
|
word32 i, outputSz;
|
||||||
|
|
||||||
@ -8303,7 +8305,7 @@ int random_test(void)
|
|||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
return -6406;
|
return -6406;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user