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/network.h | |
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/network.h')
-rw-r--r-- | src/core/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network.h b/src/core/network.h index 65505eae..8583724c 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -47,7 +47,7 @@ int net_ip_compare(IPADDR *ip1, IPADDR *ip2); /* Connect to socket */ GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip); /* Connect to socket with ip address and SSL*/ -GIOChannel *net_connect_ip_ssl(IPADDR *ip, int port, IPADDR *my_ip, const char *cert, const char *pkey, const char *cafile, const char *capath, gboolean verify); +GIOChannel *net_connect_ip_ssl(IPADDR *ip, int port, const char* hostname, IPADDR *my_ip, const char *cert, const char *pkey, const char *cafile, const char *capath, gboolean verify); int irssi_ssl_handshake(GIOChannel *handle); /* Connect to socket with ip address */ GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip); |