don't dump core
This commit is contained in:
parent
cd4fad5488
commit
43a5e1409e
1 changed files with 4 additions and 5 deletions
|
@ -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)
|
if (pkey == NULL)
|
||||||
{
|
{
|
||||||
BIO_printf(bio_err,"you need to specify a private key\n");
|
BIO_printf(bio_err,"you need to specify a private key\n");
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
#ifndef NO_DSA
|
||||||
|
if (pkey->type == EVP_PKEY_DSA)
|
||||||
|
digest=EVP_dss1();
|
||||||
|
#endif
|
||||||
if (req == NULL)
|
if (req == NULL)
|
||||||
{
|
{
|
||||||
req=X509_REQ_new();
|
req=X509_REQ_new();
|
||||||
|
|
Loading…
Reference in a new issue