projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2383028
)
Use X9.31 keygen for signature test.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 19 Jul 2007 12:24:01 +0000
(12:24 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 19 Jul 2007 12:24:01 +0000
(12:24 +0000)
fips-1.0/rsa/fips_rsastest.c
patch
|
blob
|
history
diff --git
a/fips-1.0/rsa/fips_rsastest.c
b/fips-1.0/rsa/fips_rsastest.c
index 91047b741b12dc12a40489d4df24cc6bc56e58d0..cca1a27cc9ea47694cd7e16244af41d18c5cf754 100644
(file)
--- 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);