diff options
author | Ralf S. Engelschall <rse@openssl.org> | 1998-12-22 15:59:57 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@openssl.org> | 1998-12-22 15:59:57 +0000 |
commit | 13e91dd365887c7ff26dc3ff18d42266e5393f2d (patch) | |
tree | cec94d3f90051b9b1fff763af1889d5588a5ef67 /apps/ca.c | |
parent | 8c6c8d80b757106e0fc6e9a65dcdbdb7e31ad5e7 (diff) |
Incorporation of RSEs assembled patches
Diffstat (limited to 'apps/ca.c')
-rw-r--r-- | apps/ca.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); |