summaryrefslogtreecommitdiffstats
path: root/sys/crypto/xform_ipcomp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* free(9) sizes.mpi2019-01-091-4/+4
| | | | ok visa@
* Include <sys/param.h> rather than <sys/types.h> when also includingmiod2015-03-161-2/+2
| | | | | <sys/systm.h>; fixes build on vax due to <machine/macros.h> redeclaring some functions from <lib/libkern/libkern.h> as inlines.
* Remove wrong reference to zlib.logan2015-03-141-2/+2
| | | | OK deraadt@
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-4/+4
| | | | after discussions with beck deraadt kettenis.
* fix IPComp interop with linux: switch Z_PARTIAL_FLUSH to Z_FINISH formarkus2014-02-181-20/+15
| | | | deflate(); this hurts interop with broken old openbsd releases; ok reyk@
* - grow the decompression buffer more aggressively if we havemarkus2014-02-111-16/+15
| | | | | | | a high compression ratio, e.g. for ping -s 10000 -p aa - deal with inflate returning Z_BUF_ERROR if the output buffer is full. this can happen in some edge cases with upgraded libz from 2004 ok mikeb@
* Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libzderaadt2011-07-071-0/+173
code. Missing chunks of the API are imported from the libc version, with a few #ifdef's to port it into the kernel environment. The bootblocks already used the newer code, and should encounter no surprises since there are so few changes to the existing files. In the kernel, ipcomp and kernel ppp are changed to the new API. ipcomp has been tested. ok tedu the brave