android_system_core/libziparchive
Narayan Kamath 2d1e23f5d6 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
2017-10-30 18:26:41 +00:00
..
include/ziparchive zip_archive: Allow crc_out to be nullptr in Inflate. 2017-10-30 18:26:41 +00:00
testdata
.clang-format
Android.bp
entry_name_utils-inl.h
entry_name_utils_test.cc
unzip.cpp
zip_archive.cc zip_archive: Allow crc_out to be nullptr in Inflate. 2017-10-30 18:26:41 +00:00
zip_archive_benchmark.cpp
zip_archive_common.h
zip_archive_private.h
zip_archive_stream_entry.cc
zip_archive_test.cc zip_archive: Allow crc_out to be nullptr in Inflate. 2017-10-30 18:26:41 +00:00
zip_writer.cc
zip_writer_test.cc