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 | 1cb78d3c3d13573dd64bfaf4df802fb1bbe09d82 (patch) | |
| tree | 5e4c47a07c4b6359cfcc20c9a73aef50e8add691 /libcutils/sockets_unix.cpp | |
| parent | 9e789f8e1d1e7f8f8b2108137cba675c1c32ca55 (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/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions
