diff options
Diffstat (limited to 'src/openvpn/comp.c')
-rw-r--r-- | src/openvpn/comp.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/openvpn/comp.c b/src/openvpn/comp.c index 4ac589f..706ad7e 100644 --- a/src/openvpn/comp.c +++ b/src/openvpn/comp.c @@ -58,14 +58,6 @@ comp_init(const struct compress_options *opt) (*compctx->alg.compress_init)(compctx); break; #endif -#ifdef ENABLE_SNAPPY - case COMP_ALG_SNAPPY: - ALLOC_OBJ_CLEAR (compctx, struct compress_context); - compctx->flags = opt->flags; - compctx->alg = snappy_alg; - (*compctx->alg.compress_init)(compctx); - break; -#endif #ifdef ENABLE_LZ4 case COMP_ALG_LZ4: ALLOC_OBJ_CLEAR (compctx, struct compress_context); @@ -129,9 +121,6 @@ comp_generate_peer_info_string(const struct compress_options *opt, struct buffer #if defined(ENABLE_LZ4) buf_printf (out, "IV_LZ4=1\n"); #endif -#if defined(ENABLE_SNAPPY) - buf_printf (out, "IV_SNAPPY=1\n"); -#endif #if defined(ENABLE_LZO) buf_printf (out, "IV_LZO=1\n"); lzo_avail = true; |