Use "sizeof VAR", rather than a literal "4".
[gnulib.git] / ChangeLog
index 23a75e1..8faa77c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-31  Jim Meyering  <meyering@redhat.com>
+
+       Use "sizeof VAR", rather than a literal "4".
+       * lib/md5.c (md5_read_ctx): Use sizeof ctx->A, not 4.
+       * lib/md4.c (md4_read_ctx): Likewise.
+       * lib/sha1.c (sha1_read_ctx): Likewise.
+
 2008-01-31  Simon Josefsson  <simon@josefsson.org>
 
        * tests/test-sha1.c: New file, based on test-md5.c.
@@ -6,7 +13,7 @@
 
 2008-01-31  Simon Josefsson  <simon@josefsson.org>
 
-       * lib/sha1.h (SHA1_DIGEST_SIZE): Add.
+       * lib/sha1.h (SHA1_DIGEST_SIZE): Define.
 
 2008-01-31  Jim Meyering  <meyering@redhat.com>