diff options
author | Ben Laurie <ben@openssl.org> | 1999-01-17 14:14:41 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-01-17 14:14:41 +0000 |
commit | 512d22283093a86c6fe36dffff7da50ffc4203a7 (patch) | |
tree | 2bb54d1a7d933a46d6f8edae79460cd7db5cb0f1 /apps/ca.c | |
parent | 2c1ef383aef7dd7bb419dfcc5554b42facff707e (diff) |
Remove pointless MD5 hash.
Contributed by: Anonymous <nobody@replay.com>
Diffstat (limited to 'apps/ca.c')
-rw-r--r-- | apps/ca.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1023,11 +1023,15 @@ bad: } } else - dgst=EVP_md5(); + { #ifndef NO_DSA - if (pkey->type == EVP_PKEY_DSA) - dgst = EVP_dss1() ; + if (pkey->type == EVP_PKEY_DSA) + dgst=EVP_dss1(); + else #endif + dgst=EVP_md5(); + } + if (!X509_CRL_sign(crl,pkey,dgst)) goto err; PEM_write_bio_X509_CRL(Sout,crl); |