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;