mirror of
https://github.com/nmap/nmap.git
synced 2026-09-21 07:38:39 +00:00
Update zlib to 1.2.12
This commit is contained in:
parent
aa1f5b42f7
commit
ea9344ef3d
93 changed files with 12284 additions and 12489 deletions
|
|
@ -440,9 +440,8 @@ void test_sync(compr, comprLen, uncompr, uncomprLen)
|
|||
CHECK_ERR(err, "inflateSync");
|
||||
|
||||
err = inflate(&d_stream, Z_FINISH);
|
||||
if (err != Z_DATA_ERROR) {
|
||||
fprintf(stderr, "inflate should report DATA_ERROR\n");
|
||||
/* Because of incorrect adler32 */
|
||||
if (err != Z_STREAM_END) {
|
||||
fprintf(stderr, "inflate should report Z_STREAM_END\n");
|
||||
exit(1);
|
||||
}
|
||||
err = inflateEnd(&d_stream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue