diff options
author | Alexander Færøy <ahf@0x90.dk> | 2016-10-16 13:13:02 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@0x90.dk> | 2016-10-16 14:55:48 +0200 |
commit | 6300dfec71d376c96351708f76a6c4ee4a187eb5 (patch) | |
tree | c7b084a7df1d1b6fe5bcc5ef8ecd5d8df8bafc9d /src/core/network-openssl.c | |
parent | fb78787d4e2098612979b45df3237b67effbbc3a (diff) | |
download | irssi-6300dfec71d376c96351708f76a6c4ee4a187eb5.zip |
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.
Diffstat (limited to 'src/core/network-openssl.c')
-rw-r--r-- | src/core/network-openssl.c | 10 |
1 files changed, 0 insertions, 10 deletions
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 <openssl/crypto.h> #include <openssl/x509.h> #include <openssl/x509v3.h> @@ -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 */ |