mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Disable SSLv3
This commit is contained in:
parent
971b1e57ab
commit
8bd575df2e
@ -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…
Reference in New Issue
Block a user