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

Commit e99ce05d authored by Colin Cross's avatar Colin Cross
Browse files

merge_zips: fix compressed size and CRC32 fields for inserted manifests

The compressed size and CRC32 fields in the file headers were left at
0 for inserted manifests, resulting in an invalid zip file.  Insert the
compressed size and CRC32 fields anywhere the FileHeader is created
directly.

Adds tests for the merge_zips options that add files to the zip.

Test: TestMergeZips
Change-Id: Ib027f868aa6e55f848ccaaa18582ecbc54c9a8f6
parent 156085b9
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