Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5b54e663 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

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.

(cherry picked from commit d9e85b14afd5a2ee14bb4df46cf576c5f9c25f24)

Change-Id: I31d7554378f94fc8995f707471d57cb98311e2c2
parent 159d5b9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment