[Openvpn-devel] verify-cn script

2004-05-27 Thread Alberto Gonzalez Iniesta
Hiya, I was taking a look at the scripts that come with with OpenVPN tarball and wondered why 'verify-cn' is written in Perl. Specially when the rest of the scripts are written in shell/bash. Any particular reason? I mean, running it in shell should be, if not a bit faster, more light on things Op

[Openvpn-devel] Add RPM build option to disable LZO

2004-05-27 Thread Ian Pilcher
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 packag

Re: [Openvpn-devel] Trying to use zlib with openvpn

2004-05-27 Thread Matthias Andree
On Thu, 27 May 2004, Ming-Ching Tiew wrote: > 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, source_len, dst, dest_len) > whereas zlib compress is (dest, dest_len, source, source_len). > > There

Re: [Openvpn-devel] Trying to use zlib with openvpn

2004-05-27 Thread Ming-Ching Tiew
> 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, source_le