Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4a7144e
)
Another MD4 fix for protocol 27 (from Christoph Bartelmus).
author
Wayne Davison
<wayned@samba.org>
Mon, 12 May 2003 20:38:07 +0000
(20:38 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 12 May 2003 20:38:07 +0000
(20:38 +0000)
checksum.c
patch
|
blob
|
blame
|
history
diff --git
a/checksum.c
b/checksum.c
index
f9f46d7
..
7484ca5
100644
(file)
--- a/
checksum.c
+++ b/
checksum.c
@@
-184,7
+184,7
@@
void sum_update(char *p, int len)
void sum_end(char *sum)
{
void sum_end(char *sum)
{
- if (sumresidue) {
+ if (sumresidue
|| remote_version >= 27
) {
mdfour_update(&md, (uchar *)sumrbuf, sumresidue);
}
mdfour_update(&md, (uchar *)sumrbuf, sumresidue);
}