From: Wayne Davison Date: Mon, 12 May 2003 20:38:07 +0000 (+0000) Subject: Another MD4 fix for protocol 27 (from Christoph Bartelmus). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/9d0523ef4c304c827bb2f631128addeb719012ab Another MD4 fix for protocol 27 (from Christoph Bartelmus). --- 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); }