commit | 2d1e23f5d6cd6424a261dae5b261197f3611290e | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Mon Oct 30 11:17:28 2017 +0000 |
committer | Narayan Kamath <narayan@google.com> | Mon Oct 30 18:26:41 2017 +0000 |
tree | 5e4c47a07c4b6359cfcc20c9a73aef50e8add691 | |
parent | 51ec0a1387affefdc640536490bbceaf3127d7d7 [diff] |
zip_archive: Allow crc_out to be nullptr in Inflate. Only compute the crc32 if required. In addition : - Add unit tests for Inflate that cover this addition. - Fix an inconsistency in return codes that was revealed by this new test. Bug: 35246701 Test: zip_archive_tests Test: make; zipalign. Merged-In: I31d7554378f94fc8995f707471d57cb98311e2c2 Change-Id: I05111bfa665c610f93d1c1dee987a509bf87aa65