diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-02 03:41:35 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-02 03:41:35 +0000 |
commit | 537073fd55b3e35720e759c5c13e9da128a2b0bb (patch) | |
tree | f4d544e3e85bc2a32b33f6400ff74ec8d3826302 /forward.c | |
parent | Renamed sample-keys/tmp-ca.crt to ca.crt. (diff) | |
download | openvpn-537073fd55b3e35720e759c5c13e9da128a2b0bb.tar.xz |
version 2.1_beta1
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@588 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | forward.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -397,7 +397,7 @@ encrypt_sign (struct context *c, bool comp_frag) { #ifdef USE_LZO /* Compress the packet. */ - if (c->options.comp_lzo) + if (lzo_defined (&c->c2.lzo_compwork)) lzo_compress (&c->c2.buf, b->lzo_compress_buf, &c->c2.lzo_compwork, &c->c2.frame); #endif #ifdef ENABLE_FRAGMENT @@ -764,7 +764,7 @@ process_incoming_link (struct context *c) #ifdef USE_LZO /* decompress the incoming packet */ - if (c->options.comp_lzo) + if (lzo_defined (&c->c2.lzo_compwork)) lzo_decompress (&c->c2.buf, c->c2.buffers->lzo_decompress_buf, &c->c2.lzo_compwork, &c->c2.frame); #endif |