sha1.c, md5.c: Hoist a redundant expression.
[gnulib.git] / ChangeLog
index a58f637..97d711f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-03-15  Jim Meyering  <meyering@redhat.com>
+
+       sha1.c, md5.c: Hoist a redundant expression.
+       * lib/sha1.c (sha1_process_bytes): AND-off the low bits in
+       "ctx->buflen" only once, before calling *_process_block.
+       * lib/md5.c (md5_process_bytes): Likewise.
+
 2008-03-14  Eric Blake  <ebb9@byu.net>
 
        Bump copyright year in files generated by gnulib-tool.