Another MD4 fix for protocol 27 (from Christoph Bartelmus).
authorWayne Davison <wayned@samba.org>
Mon, 12 May 2003 20:38:07 +0000 (20:38 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 12 May 2003 20:38:07 +0000 (20:38 +0000)
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);
        }