# Disable SSLv2, SSLv3, and TLSv1.
# Upstream has disabled SSLv2 and SSLv3. Disabling of TLSv1 will not go upstream
--- irssi-0.8.19/src/core/network-openssl.c.orig 2016-05-02 14:21:25.586859407 -0700
+++ irssi-0.8.19/src/core/network-openssl.c 2016-05-02 14:39:25.570411376 -0700
@@ -479,7 +479,7 @@
g_error("Could not allocate memory for SSL context");
return NULL;
}
- SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3);
+ SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1);
SSL_CTX_set_default_passwd_cb(ctx, get_pem_password_callback);
SSL_CTX_set_default_passwd_cb_userdata(ctx, (void *)mypass);
if (ciphers && *ciphers) {