Make gzip checksum check length, not just CRC32

This commit is contained in:
Nigel Tao committed 2018-03-28 12:36:31 +11:00
1 parent a8e40fedc9
commit ef899b0492
4 files changed
+26 -8

No files matched your search

+1 -1
View File
@@ -245,7 +245,7 @@ void bench_mimic_gzip_decode_100k() {
proc tests[] = {
test_wuffs_gzip_checksum_ignore, //
// test_wuffs_gzip_checksum_verify_bad1, // TODO: uncomment
test_wuffs_gzip_checksum_verify_bad1, //
test_wuffs_gzip_checksum_verify_bad7, //
test_wuffs_gzip_checksum_verify_good, //
test_wuffs_gzip_decode_midsummer, //