From 9889a34bf2f8d458c15ba4f9ba23aeef00e637d6 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 2 Sep 2007 06:00:30 +0000 Subject: [PATCH] Don't include the checksum_seed in the full-file MD5 checksum. --- checksum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /** -- 2.34.1