Hi, it's taken me a while to realise that
file_info.flag |= MZ_ZIP_FLAG_ENCRYPTED;
file_info.aes_version = MZ_AES_VERSION;
need to be set in order for password protection for entry writing to work properly.
I had misassumed that setting either mz_zip_writer_set_password, or writer_password_cb would be sufficient for entries to be written with password protection.
I think an addition to the docs somewhere on this (ex. for the above functions) would help any future mishap.
Hi, it's taken me a while to realise that
need to be set in order for password protection for entry writing to work properly.
I had misassumed that setting either mz_zip_writer_set_password, or writer_password_cb would be sufficient for entries to be written with password protection.
I think an addition to the docs somewhere on this (ex. for the above functions) would help any future mishap.