Rename deprecated FIPS_rand functions to FIPS_x931. These shouldn't be

used by applications directly and the X9.31 PRNG is deprecated by new
FIPS140-2 rules anyway.
This commit is contained in:
Dr. Stephen Henson
2011-04-05 12:42:31 +00:00
parent 856650deb0
commit cab0595c14
9 changed files with 68 additions and 62 deletions

View File

@@ -323,7 +323,7 @@ int FIPS_mode_set(int onoff)
}
/* Perform RNG KAT before seeding */
if (!FIPS_selftest_rng())
if (!FIPS_selftest_x931())
{
fips_selftest_fail = 1;
ret = 0;