From: Dr. Stephen Henson Date: Thu, 19 Jul 2007 12:24:01 +0000 (+0000) Subject: Use X9.31 keygen for signature test. X-Git-Tag: FIPS_098_TEST_2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=25df4a81cc0163aaa52486b44bc0e541732fbb9a;p=oweals%2Fopenssl.git Use X9.31 keygen for signature test. --- 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);