summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2012-06-24 09:50:08 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2012-06-24 09:50:08 +0000
commit7ae491922905fbc800c6c389517a5fbcce6f5734 (patch)
tree52de6f8e03cd3c6d6f19dadb4ee21ae30c9e0f48 /src/core
parent00d59cdd8f7a64d68e8b03f12a0d0ae730c4b789 (diff)
downloadirssi-7ae491922905fbc800c6c389517a5fbcce6f5734.zip
Do not set SSL_OP_ALL, it is not needed to disable SSLv2 and it can prevent
connections to TLSv1.1 servers from working. Patch by pi-rho. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5216 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r--src/core/network-openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c
index eaa51a13..8aeb5a6e 100644
--- a/src/core/network-openssl.c
+++ b/src/core/network-openssl.c
@@ -410,7 +410,7 @@ static GIOChannel *irssi_ssl_get_iochannel(GIOChannel *handle, const char *hostn
g_error("Could not allocate memory for SSL context");
return NULL;
}
- SSL_CTX_set_options(ctx, SSL_OP_ALL | SSL_OP_NO_SSLv2);
+ SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2);
if (mycert && *mycert) {
char *scert = NULL, *spkey = NULL;