projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6168067
)
Always seed PRNG for new requests no matter what key type. RSA may need
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 12 May 2008 16:07:00 +0000
(16:07 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 12 May 2008 16:07:00 +0000
(16:07 +0000)
the PRNG for blinding.
PR: 1666
apps/req.c
patch
|
blob
|
history
diff --git
a/apps/req.c
b/apps/req.c
index f58e65ec852f9d87177d48685be32fa8b3146c0f..5ed08960c1dcf9fb128375fe083b49eba93bae3a 100644
(file)
--- a/
apps/req.c
+++ b/
apps/req.c
@@
-719,8
+719,7
@@
bad:
message */
goto end;
}
- if (EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA ||
- EVP_PKEY_type(pkey->type) == EVP_PKEY_EC)
+ else
{
char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE");
if (randfile == NULL)