mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Disable SSLv3
This commit is contained in:
parent
971b1e57ab
commit
8bd575df2e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue