summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-07-19 12:24:01 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-07-19 12:24:01 +0000
commit25df4a81cc0163aaa52486b44bc0e541732fbb9a (patch)
treebf60700d4cf831e5988fa8c4597d34b5fda910b0
parent23830280e4713a433c4ad0e2a49bff2027940aa1 (diff)
Use X9.31 keygen for signature test.
-rw-r--r--fips-1.0/rsa/fips_rsastest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fips-1.0/rsa/fips_rsastest.c b/fips-1.0/rsa/fips_rsastest.c
index 91047b741b..cca1a27cc9 100644
--- a/fips-1.0/rsa/fips_rsastest.c
+++ b/fips-1.0/rsa/fips_rsastest.c
@@ -274,7 +274,7 @@ int rsa_stest(FILE *out, FILE *in, int Saltlen)
bn_e = BN_new();
if (!bn_e || !BN_set_word(bn_e, 0x1001))
goto error;
- if (!RSA_generate_key_ex(rsa, keylen, bn_e, NULL))
+ if (!RSA_X931_generate_key_ex(rsa, keylen, bn_e, NULL))
goto error;
BN_free(bn_e);
fputs("n = ", out);