summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2014-10-15 10:00:30 +0200
committerAlexander Færøy <ahf@0x90.dk>2014-10-15 10:00:30 +0200
commit8bd575df2ec0d4a17b6f59116d555b64f5bb1312 (patch)
treebdd07910836708264465f26ff91be76e4d1c1ac6
parent971b1e57ab762fce967f15c28e7b6e6a826a0188 (diff)
downloadirssi-8bd575df2ec0d4a17b6f59116d555b64f5bb1312.zip
Disable SSLv3
-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 768fd540..e16403ec 100644
--- a/src/core/network-openssl.c
+++ b/src/core/network-openssl.c
@@ -475,7 +475,7 @@ static GIOChannel *irssi_ssl_get_iochannel(GIOChannel *handle, int port, SERVER_
g_error("Could not allocate memory for SSL context");
return NULL;
}
- SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2);
+ SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3);
SSL_CTX_set_default_passwd_cb(ctx, get_pem_password_callback);
SSL_CTX_set_default_passwd_cb_userdata(ctx, (void *)mypass);