History log of /openbsd-current/sys/crypto/xform_ipcomp.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.8 09-Jan-2019 mpi

free(9) sizes.

ok visa@


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.7 16-Mar-2015 miod

Include <sys/param.h> rather than <sys/types.h> when also including
<sys/systm.h>; fixes build on vax due to <machine/macros.h> redeclaring
some functions from <lib/libkern/libkern.h> as inlines.


# 1.6 14-Mar-2015 logan

Remove wrong reference to zlib.

OK deraadt@


# 1.5 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.4 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


Revision tags: OPENBSD_5_5_BASE
# 1.3 18-Feb-2014 markus

fix IPComp interop with linux: switch Z_PARTIAL_FLUSH to Z_FINISH for
deflate(); this hurts interop with broken old openbsd releases; ok reyk@


# 1.2 11-Feb-2014 markus

- grow the decompression buffer more aggressively if we have
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@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.1 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.7 16-Mar-2015 miod

Include <sys/param.h> rather than <sys/types.h> when also including
<sys/systm.h>; fixes build on vax due to <machine/macros.h> redeclaring
some functions from <lib/libkern/libkern.h> as inlines.


# 1.6 14-Mar-2015 logan

Remove wrong reference to zlib.

OK deraadt@


# 1.5 14-Mar-2015 jsg

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.4 12-Jul-2014 tedu

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


Revision tags: OPENBSD_5_5_BASE
# 1.3 18-Feb-2014 markus

fix IPComp interop with linux: switch Z_PARTIAL_FLUSH to Z_FINISH for
deflate(); this hurts interop with broken old openbsd releases; ok reyk@


# 1.2 11-Feb-2014 markus

- grow the decompression buffer more aggressively if we have
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@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.1 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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