diff options
author | Narayan Kamath <narayan@google.com> | 2017-10-30 11:17:28 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2017-10-30 18:26:41 +0000 |
commit | 2d1e23f5d6cd6424a261dae5b261197f3611290e (patch) | |
tree | 5e4c47a07c4b6359cfcc20c9a73aef50e8add691 /libcutils/socket_local_client_unix.cpp | |
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
Diffstat (limited to 'libcutils/socket_local_client_unix.cpp')
0 files changed, 0 insertions, 0 deletions