projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't dump core
[oweals/openssl.git]
/
apps
/
req.c
diff --git
a/apps/req.c
b/apps/req.c
index 1aab38d9d7aa29a2496755c573075eb6b3ca7d4d..b123236beb4c3117b13102305276ebf1236a5075 100644
(file)
--- a/
apps/req.c
+++ b/
apps/req.c
@@
-685,16
+685,15
@@
loop:
if (newreq || x509)
{
if (newreq || x509)
{
-#ifndef NO_DSA
- if (pkey->type == EVP_PKEY_DSA)
- digest=EVP_dss1();
-#endif
-
if (pkey == NULL)
{
BIO_printf(bio_err,"you need to specify a private key\n");
goto end;
}
if (pkey == NULL)
{
BIO_printf(bio_err,"you need to specify a private key\n");
goto end;
}
+#ifndef NO_DSA
+ if (pkey->type == EVP_PKEY_DSA)
+ digest=EVP_dss1();
+#endif
if (req == NULL)
{
req=X509_REQ_new();
if (req == NULL)
{
req=X509_REQ_new();