summaryrefslogtreecommitdiffstats
path: root/fips/fips_test_suite.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_test_suite.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_test_suite.c')
-rw-r--r--fips/fips_test_suite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fips/fips_test_suite.c b/fips/fips_test_suite.c
index aa7fbf814f..c82dffea88 100644
--- a/fips/fips_test_suite.c
+++ b/fips/fips_test_suite.c
@@ -723,7 +723,7 @@ int main(int argc,char **argv)
} else if (!strcmp(argv[1], "drbg")) {
FIPS_corrupt_drbg();
} else if (!strcmp(argv[1], "rng")) {
- FIPS_corrupt_rng();
+ FIPS_corrupt_x931();
} else if (!strcmp(argv[1], "rngstick")) {
do_rng_stick = 1;
no_exit = 1;
@@ -764,7 +764,7 @@ int main(int argc,char **argv)
if (do_drbg_stick)
FIPS_drbg_stick();
if (do_rng_stick)
- FIPS_rng_stick();
+ FIPS_x931_stick();
/* AES encryption/decryption
*/