mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02:00
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
This commit is contained in:
parent
ea9c03cf61
commit
dd23f39f09
1 changed files with 1 additions and 0 deletions
|
|
@ -406,6 +406,7 @@ static GIOChannel *irssi_ssl_get_iochannel(GIOChannel *handle, const char *hostn
|
||||||
g_error("Could not allocate memory for SSL context");
|
g_error("Could not allocate memory for SSL context");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
SSL_CTX_set_options(ctx, SSL_OP_ALL | SSL_OP_NO_SSLv2);
|
||||||
|
|
||||||
if (mycert && *mycert) {
|
if (mycert && *mycert) {
|
||||||
char *scert = NULL, *spkey = NULL;
|
char *scert = NULL, *spkey = NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue