summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;