diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2009-12-28 12:15:18 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2009-12-28 12:15:18 +0000 |
commit | bb4ce4562bd04eeb24a5953dd8da5c843c04e328 (patch) | |
tree | 6f4d48bb7070bee77ed37a56309e312c509be226 /src/core/servers.c | |
parent | 0f47bb819713537214b6e68b4a32f2eaaf41807b (diff) | |
download | irssi-bb4ce4562bd04eeb24a5953dd8da5c843c04e328.zip |
Check if an SSL certificate matches the hostname of the server we are connecting to
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5104 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/servers.c')
-rw-r--r-- | src/core/servers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/servers.c b/src/core/servers.c index d5844e7b..017a2036 100644 --- a/src/core/servers.c +++ b/src/core/servers.c @@ -224,7 +224,7 @@ static void server_real_connect(SERVER_REC *server, IPADDR *ip, port = server->connrec->proxy != NULL ? server->connrec->proxy_port : server->connrec->port; handle = server->connrec->use_ssl ? - net_connect_ip_ssl(ip, port, own_ip, server->connrec->ssl_cert, server->connrec->ssl_pkey, + net_connect_ip_ssl(ip, port, server->connrec->address, own_ip, server->connrec->ssl_cert, server->connrec->ssl_pkey, server->connrec->ssl_cafile, server->connrec->ssl_capath, server->connrec->ssl_verify) : net_connect_ip(ip, port, own_ip); } else { |