Ticket #502: openvpn-ssl_compression.patch
File openvpn-ssl_compression.patch, 480 bytes (added by , 9 years ago) |
---|
-
openvpn-2.3.6/src/openvpn/ssl_openssl.c
old new 238 238 if (tls_ver_min > TLS_VER_1_2 || tls_ver_max < TLS_VER_1_2) 239 239 sslopt |= SSL_OP_NO_TLSv1_2; 240 240 #endif 241 242 #ifdef SSL_OP_NO_COMPRESSION 243 msg (M_WARN, "[BLSHKV] disable compression"); 244 sslopt |= SSL_OP_NO_COMPRESSION; 245 #endif 246 247 241 248 SSL_CTX_set_options (ctx->ctx, sslopt); 242 249 } 243 250