Skip to content

Commit

Permalink
Don't include the checksum_seed in the full-file MD5 checksum.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne Davison committed Sep 2, 2007
1 parent 8e1e60e commit 9889a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checksum.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 9889a34

Please sign in to comment.