[Zlib-devel] Question about include uncrypt in contrib/minizip/unzip

Gilles Vollant info at winimage.com
Tue Mar 11 14:53:01 EST 2003


I've a question to Mark Adler and the list :
Do you known the distributed version of unzip.c on contrib/minizip must
contain uncrypting code ?

In
http://www.winimage.com/zLibDll/unzip21zcr.zip

You'll find:
unzip.h :  modified unzip.h with password option when opening zipfile
unzip.c : first version of unzip.c with uncrypt, compatible with zLib
1.14, but with full CRC32 table and with global variable
unzip21zcra.c : good version of unzip.c, using the new CRC32 API
get_crc_table() and without global variable, need zlib 1.20 (for
get_crc_table() API)
miniunz.c : miniunz.c with "-p password" option to test unzip.c with
uncrypting
ioapi.c : ioapi.c with minor warning fixes


zcr.vcproj : Visual Studio.NET project, only to try (do not distribute
in final)
zcr.sln : Visual Studio.NET project, only to try (do not distribute in
final)

Decryption code comes from crypt.c by Info-ZIP . Terry Thorsen do the
work to integrate unzip and uncrypting.

Do you think we can distribute in standard zlib the uncrypting code,
without legal problem ?
I think law have changed.





More information about the Zlib-devel mailing list