summaryrefslogtreecommitdiff
path: root/checksum.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2003-05-12 20:38:07 +0000
committerWayne Davison <wayned@samba.org>2003-05-12 20:38:07 +0000
commit9d0523ef4c304c827bb2f631128addeb719012ab (patch)
tree59eda775fb360f271a328ea59eff3106b039c9d3 /checksum.c
parent4a7144ee7e4cca2a28b484da1458ba89f022bb33 (diff)
downloadrsync-9d0523ef4c304c827bb2f631128addeb719012ab.tar.gz
Another MD4 fix for protocol 27 (from Christoph Bartelmus).
Diffstat (limited to 'checksum.c')
-rw-r--r--checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/checksum.c b/checksum.c
index f9f46d72..7484ca58 100644
--- a/checksum.c
+++ b/checksum.c
@@ -184,7 +184,7 @@ void sum_update(char *p, int len)
void sum_end(char *sum)
{
- if (sumresidue) {
+ if (sumresidue || remote_version >= 27) {
mdfour_update(&md, (uchar *)sumrbuf, sumresidue);
}