I just had a need to decode a piece of Zlib data from out of the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 21 Oct 2004 10:59:53 +0000 (10:59 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 21 Oct 2004 10:59:53 +0000 (10:59 +0000)
commit52912ff34e5921714d1b7537a5fb4003fcdb2424
tree34b13daa651fc80bc0dcf3de0526f9c813038364
parentf80d4744684828c7b99f1dc25d4b21cf0b59c786
I just had a need to decode a piece of Zlib data from out of the
middle of a PDF. So here's a modification to sshzlib.c which enables
it to be compiled into a standalone Zlib decoder if you define
ZLIB_STANDALONE. As an added bonus, it (both standalone and in
PuTTY) also validates the Zlib header, just to make sure someone
hasn't defined a new compression format.

git-svn-id: svn://svn.tartarus.org/sgt/putty@4657 cda61777-01e9-0310-a592-d414129be87e
sshzlib.c