mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 01:22:26 +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");
|
g_error("Could not allocate memory for SSL context");
|
||||||
return NULL;
|
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(ctx, get_pem_password_callback);
|
||||||
SSL_CTX_set_default_passwd_cb_userdata(ctx, (void *)mypass);
|
SSL_CTX_set_default_passwd_cb_userdata(ctx, (void *)mypass);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue