From: Wayne Davison Date: Sun, 2 Sep 2007 06:00:30 +0000 (+0000) Subject: Don't include the checksum_seed in the full-file MD5 checksum. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/9889a34bf2f8d458c15ba4f9ba23aeef00e637d6 Don't include the checksum_seed in the full-file MD5 checksum. --- diff --git a/checksum.c b/checksum.c index 51a5293a..04606264 100644 --- a/checksum.c +++ b/checksum.c @@ -164,9 +164,9 @@ void sum_init(int seed) else { mdfour_begin(&md); sumresidue = 0; + SIVAL(s, 0, seed); + sum_update(s, 4); } - SIVAL(s, 0, seed); - sum_update(s, 4); } /**