The attached patch to the OpenVPN 1.6.0 SPEC file adds a conditional
build option to disable the use of LZO compression. LZO is not included
in Red Hat/Fedora Core, so this will make it easier for users of those
distributions to build a RPM without LZO support (if they don't want
it).
The
> Make sure that you define
>
> #define LZO_EXTRA_BUFFER(len) ((len)/64 + 16 + 3) /* LZO worst case
size
> expansion. */
>
> for zlib.
>
OK thanks for the response. Upon closer investigation, I
found that it is my own problem. The LZO_COMPRESS is
taking the parameters as (source,
Ming-Ching Tiew said:
>
> Last night after posting to openvpn-user maillist about
> wanting to use zlib with OpenVPN, I had a look at the
> code. It seems the compression code is well-contained
> in lzo.c, I could even do a one-to-one swap of
> 'LZO_COMPRESS' with