Another MD4 fix for protocol 27 (from Christoph Bartelmus).
[rsync/rsync.git] / checksum.c
index f9f46d7..7484ca5 100644 (file)
@@ -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);
        }