From 6300dfec71d376c96351708f76a6c4ee4a187eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Sun, 16 Oct 2016 13:13:02 +0200 Subject: Always build irssi with TLS support. This patch removes the optional checks for whether to build irssi with TLS support or not. This will allow us to ship a default configuration file where we connect to TLS enabled IRC servers out of the box. --- src/core/network-openssl.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/core/network-openssl.c') diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c index a18e6fc7..014f0a28 100644 --- a/src/core/network-openssl.c +++ b/src/core/network-openssl.c @@ -23,8 +23,6 @@ #include "misc.h" #include "servers.h" -#ifdef HAVE_OPENSSL - #include #include #include @@ -620,13 +618,5 @@ int irssi_ssl_handshake(GIOChannel *handle) return ret ? 0 : -1; } -#else /* HAVE_OPENSSL */ -GIOChannel *net_connect_ip_ssl(IPADDR *ip, int port, IPADDR *my_ip, SERVER_REC *server) -{ - g_warning("Connection failed: SSL support not enabled in this build."); - errno = ENOSYS; - return NULL; -} -#endif /* ! HAVE_OPENSSL */ -- cgit v1.2.3