summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2010-02-22 19:37:18 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2010-02-22 19:37:18 +0000
commitdae9a763127f94775a41816c21066df263e3e2a4 (patch)
treeb17fa9c7415da7f94390d2bcb70a02817fb824db /src
parentf32b3938b0b01b667cb206e8eef28790c5f3134b (diff)
downloadirssi-dae9a763127f94775a41816c21066df263e3e2a4.zip
Fix compiling without ssl
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5117 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/core/network-openssl.c2
1 files changed, 1 insertions, 1 deletions
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;