fix EVP_dsa_sha macro

Submitted by: Nils Larsch
This commit is contained in:
Bodo Möller
2002-05-16 12:53:34 +00:00
parent 2bf30d6b47
commit 855f0b4f2f
2 changed files with 7 additions and 2 deletions

View File

@@ -1613,7 +1613,12 @@ des-cbc 3624.96k 5258.21k 5530.91k 5624.30k 5628.26k
*) Clean old EAY MD5 hack from e_os.h. *) Clean old EAY MD5 hack from e_os.h.
[Richard Levitte] [Richard Levitte]
Changes between 0.9.6c and 0.9.6d [XX xxx 2002] Changes between 0.9.6d and 0.9.6e [XX xxx XXXX]
*) Fix EVP_dsa_sha macro.
[Nils Larsch]
Changes between 0.9.6c and 0.9.6d [9 May 2002]
*) Fix crypto/asn1/a_sign.c so that 'parameters' is omitted (not *) Fix crypto/asn1/a_sign.c so that 'parameters' is omitted (not
encoded as NULL) with id-dsa-with-sha1. encoded as NULL) with id-dsa-with-sha1.

View File

@@ -184,7 +184,7 @@ typedef struct evp_pkey_md_st
EVP_rsa_octet_string(),EVP_mdc2()) EVP_rsa_octet_string(),EVP_mdc2())
#define EVP_dsa_sha() \ #define EVP_dsa_sha() \
EVP_PKEY_MD_add(NID_dsaWithSHA,\ EVP_PKEY_MD_add(NID_dsaWithSHA,\
EVP_dsa(),EVP_mdc2()) EVP_dsa(),EVP_sha())
#define EVP_dsa_sha1() \ #define EVP_dsa_sha1() \
EVP_PKEY_MD_add(NID_dsaWithSHA1,\ EVP_PKEY_MD_add(NID_dsaWithSHA1,\
EVP_dsa(),EVP_sha1()) EVP_dsa(),EVP_sha1())