fix EVP_dsa_sha macro
authorBodo Möller <bodo@openssl.org>
Thu, 16 May 2002 12:51:18 +0000 (12:51 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 16 May 2002 12:51:18 +0000 (12:51 +0000)
Submitted by: Nils Larsch

CHANGES
crypto/evp/evp.h

diff --git a/CHANGES b/CHANGES
index c288d5419705946b53387dc50e63a881449fe785..c329d130889d49624f9ae3cc4bb40f82f2106a1b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1664,7 +1664,12 @@ des-cbc           3624.96k     5258.21k     5530.91k     5624.30k     5628.26k
   *) Clean old EAY MD5 hack from e_os.h.
      [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
      encoded as NULL) with id-dsa-with-sha1.
index 981c6179f190e2261d1ef8d95a5aeb348e84e055..061c5d175d6ec93aa320923adbd2691e4900b781 100644 (file)
@@ -190,7 +190,7 @@ typedef struct evp_pkey_md_st
                        EVP_rsa_octet_string(),EVP_mdc2())
 #define EVP_dsa_sha() \
                EVP_PKEY_MD_add(NID_dsaWithSHA,\
-                       EVP_dsa(),EVP_mdc2())
+                       EVP_dsa(),EVP_sha())
 #define EVP_dsa_sha1() \
                EVP_PKEY_MD_add(NID_dsaWithSHA1,\
                        EVP_dsa(),EVP_sha1())