summaryrefslogtreecommitdiffstats
path: root/fips/fips.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-04-05 12:42:31 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-04-05 12:42:31 +0000
commitcab0595c1426b2f70d88b824028c6d1ef4a4476e (patch)
tree2030c0073ba4fb5f68eab1a378f7d7dcd667f6b4 /fips/fips.c
parent856650deb01bed257622d1ecb64db6d83cf5cdcc (diff)
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.
Diffstat (limited to 'fips/fips.c')
-rw-r--r--fips/fips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fips/fips.c b/fips/fips.c
index e8d99c5004..42f4003119 100644
--- a/fips/fips.c
+++ b/fips/fips.c
@@ -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;