diff options
author | Alexander Færøy <ahf@irssi.org> | 2010-04-03 19:09:11 +0000 |
---|---|---|
committer | ahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2010-04-03 19:09:11 +0000 |
commit | dd23f39f090f22d404dd15e40d411f9f8d65a38f (patch) | |
tree | 8a0778a175d6445ff9ff5f661dc22551abf8de97 /src/core/network-openssl.c | |
parent | ea9c03cf61a78329170feb2c24dc3e0a06e95216 (diff) | |
download | irssi-dd23f39f090f22d404dd15e40d411f9f8d65a38f.zip |
Do not use SSLv2 protocol. From Bazerka.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5136 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/network-openssl.c')
-rw-r--r-- | src/core/network-openssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c index 05614335..2c711c78 100644 --- a/src/core/network-openssl.c +++ b/src/core/network-openssl.c @@ -406,6 +406,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); if (mycert && *mycert) { char *scert = NULL, *spkey = NULL; |