From 25df4a81cc0163aaa52486b44bc0e541732fbb9a Mon Sep 17 00:00:00 2001
From: "Dr. Stephen Henson" <steve@openssl.org>
Date: Thu, 19 Jul 2007 12:24:01 +0000
Subject: [PATCH] Use X9.31 keygen for signature test.

---
 fips-1.0/rsa/fips_rsastest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
2.25.1