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-Tag: v2.5.7~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d0523ef4c304c827bb2f631128addeb719012ab;p=thirdparty%2Frsync.git 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); }