From dae9a763127f94775a41816c21066df263e3e2a4 Mon Sep 17 00:00:00 2001 From: Wouter Coekaerts Date: Mon, 22 Feb 2010 19:37:18 +0000 Subject: [PATCH] Fix compiling without ssl git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5117 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/network-openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c index a800676f..05614335 100644 --- a/src/core/network-openssl.c +++ b/src/core/network-openssl.c @@ -535,7 +535,7 @@ int irssi_ssl_handshake(GIOChannel *handle) #else /* HAVE_OPENSSL */ -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) { g_warning("Connection failed: SSL support not enabled in this build."); errno = ENOSYS;