$ cmake . -DMZ_BZIP2=OFF -DMZ_LZMA=OFF -DMZ_BUILD_TEST=ON
$ cmake --build .
$ ./minizip -x -p got v1.zip
Minizip 2.8.7 - https://github.com/nmoinvaz/minizip
---------------------------------------------------
-x -p *** v1.zip
Archive v1.zip
Extracting 1.md
Error -3 saving entries to disk v1.zip
Error -105 closing archive for reading
This is a follow up of ZipArchive/ZipArchive#516
We create a BRG AES protected file (using ZipArchive based on minizip 1.2), with password "got":
v1.zip
We build minizip 2.8.7 with Apple Crypt:
The error is produced on the following line: https://github.com/nmoinvaz/minizip/blob/64c4c7f868467ca21434cced2a418f21d3c6c664/mz_strm_zlib.c#L181