projects
/
platform
/
upstream
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1e60e
)
Don't include the checksum_seed in the full-file MD5 checksum.
author
Wayne Davison
<wayned@samba.org>
Sun, 2 Sep 2007 06:00:30 +0000
(06:00 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 2 Sep 2007 06:00:30 +0000
(06:00 +0000)
checksum.c
patch
|
blob
|
history
diff --git
a/checksum.c
b/checksum.c
index
51a5293
..
0460626
100644
(file)
--- 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);
}
/**