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 |
|