I'm using Minizip to work with some zip files, and would like to be able to check if a zip file contains encrypted/password protected files. If I call unzGetCurrentFileInfo, and look at the resulting unz_file_info structure, I've noticed that the external_fa field seems to be 0 for non encrypted files, and 0x20 for encrypted ones.
However, this is just what I've observed from debugging and as I can't find anything in the Minizip code documenting what different values in this field actually mean, I'm wary of making assumptions.
Anyone know any more?