Use "sizeof VAR", rather than a literal "4".
[gnulib.git] / ChangeLog
index 0c2b3e0..8faa77c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,74 @@
+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.
+
+       * modules/crypto/sha1-tests: New file.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/sha1.h (SHA1_DIGEST_SIZE): Define.
+
+2008-01-31  Jim Meyering  <meyering@redhat.com>
+
+       Prefer "sizeof v" over the equivalent "4".
+       * lib/md4.c (set_uint32): Use "sizeof v" as memcpy length, not 4.
+       * lib/md5.c (set_uint32): Likewise.
+       * lib/sha1.c (set_uint32): Likewise.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/sha1.c (set_uint32): Mark function as static.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       md2: clarify comments to say that alignment is not required.
+       * lib/md2.h: Remove warning about alignment in comment.
+       * lib/md2.c (md2_read_ctx, md2_finish_ctx): Doc fix, alignment has
+       never been required.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       md4: adapt alignment constraint fix from sha1.
+       * lib/md4.c (set_uint32): New function, from sha1.c
+       (md4_read_ctx): Use it.
+       (md4_finish_ctx): Doc fix.
+       * lib/md4.h: Doc fix.
+
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       md5: adapt alignment constraint fix from sha1.
+       * lib/md5.c (set_uint32): New function, from sha1.c
+       (md5_read_ctx): Use it.
+       (md5_finish_ctx): Doc fix.
+       * lib/md5.h: Doc fix.
+
+2008-01-30  Peter Palfrader  <weasel@debian.org>
+
+       sha1: remove the result buffer alignment constraint
+       * lib/sha1.c (set_uint32): New function.
+       (sha1_read_ctx): Rewrite to remove the result buffer alignment
+       constraint.
+       (sha1_finish_ctx): Remove comment warning about alignment constraint.
+       * lib/sha1.h: Likewise.
+
+2008-01-30  Andreas Schwab  <schwab@suse.de>
+            Bruno Haible  <bruno@clisp.org>
+
+       * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Include <float.h> and ensure a
+       correct definition of LDBL_MIN_EXP.
+
+2008-01-30  Karl Berry  <karl@gnu.org>
+
+       * config/srclist-update: try to preserve x bit on updates.
+       * config/srclistvars.sh: update for karl.
+
 2008-01-29  Jim Meyering  <meyering@redhat.com>
 
        vasnprintf.c: Avoid warning about unused label