X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=apps%2Fca.c;h=67b7561c4fecefb4bd89def93a343e584dceba20;hb=c54b4ee16ae208237b9ec06b6fa39169fca07f13;hp=8990aa20a7d9358912e594af1213ab8e8b272e87;hpb=dfeab0689f69c0b4bd3480ffd37a9cacc2f17d9c;p=openssl.git diff --git a/apps/ca.c b/apps/ca.c index 8990aa20a7..67b7561c4f 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -1012,7 +1012,7 @@ bad: r->sequence=i; } - /* we how have a CRL */ + /* we now have a CRL */ if (verbose) BIO_printf(bio_err,"signing CRL\n"); if (md != NULL) { @@ -1024,6 +1024,10 @@ bad: } else dgst=EVP_md5(); +#ifndef NO_DSA + if (pkey->type == EVP_PKEY_DSA) + dgst = EVP_dss1() ; +#endif if (!X509_CRL_sign(crl,pkey,dgst)) goto err; PEM_write_bio_X509_CRL(Sout,crl);