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-Tag: v3.0.0pre1~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9889a34bf2f8d458c15ba4f9ba23aeef00e637d6;p=thirdparty%2Frsync.git 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); } /**