never update with bad md4
authortridge <>
Wed, 6 Jun 2001 15:18:42 +0000 (15:18 +0000)
committertridge <>
Wed, 6 Jun 2001 15:18:42 +0000 (15:18 +0000)
tsums/tsums.c

index b3a4c894fbdd990f74999962179e37cf4a10b472..2b88596b8637b821b89d2aaaac0be605ccb1c5f1 100644 (file)
@@ -240,6 +240,7 @@ static void tsums_file(const char *fname)
        }
 
 update:
+       if (do_quick) file_checksum(fname, &sum.sum[0]);
        if (data.dptr) free(data.dptr);
        data.dptr = (void *)&sum;
        data.dsize = sizeof(sum);