mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
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.
This commit is contained in:
parent
fb78787d4e
commit
6300dfec71
4 changed files with 7 additions and 59 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue