]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
I just had a need to decode a piece of Zlib data from out of the
authorSimon Tatham <anakin@pobox.com>
Thu, 21 Oct 2004 10:59:53 +0000 (10:59 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 21 Oct 2004 10:59:53 +0000 (10:59 +0000)
commitecd50ec3495e38d6998e88e00743f34a6ae8cc61
tree34b13daa651fc80bc0dcf3de0526f9c813038364
parent83e15f8082b0f6ffabd6740aedd1f77aec9d67cd
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.

[originally from svn r4657]
sshzlib.c