Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 537318
Collapse All | Expand All

(-)openvpn-2.3.6/src/openvpn/ssl_openssl.c.orig (+7 lines)
Lines 238-243 Link Here
238
    if (tls_ver_min > TLS_VER_1_2 || tls_ver_max < TLS_VER_1_2)
238
    if (tls_ver_min > TLS_VER_1_2 || tls_ver_max < TLS_VER_1_2)
239
      sslopt |= SSL_OP_NO_TLSv1_2;
239
      sslopt |= SSL_OP_NO_TLSv1_2;
240
#endif
240
#endif
241
242
#ifdef SSL_OP_NO_COMPRESSION
243
    msg (M_WARN, "[Workaround] disable SSL compression");
244
    sslopt |= SSL_OP_NO_COMPRESSION;
245
#endif
246
247
241
    SSL_CTX_set_options (ctx->ctx, sslopt);
248
    SSL_CTX_set_options (ctx->ctx, sslopt);
242
  }
249
  }
243
250

Return to bug 537318