Bump liberty, enable TLS SNI

Involves some rewrites to fit the new APIs.

SNI has been implemented Mostly just because we can, I don't think it's
widely in use and kike doesn't support this feature of the protocol either.
This commit is contained in:
2015-12-09 00:53:56 +01:00
parent 28fec6d4a6
commit aeb047260f
7 changed files with 53 additions and 54 deletions

View File

@@ -1663,8 +1663,10 @@ struct irc_socks_data
};
static void
irc_on_socks_connected (void *user_data, int socket)
irc_on_socks_connected (void *user_data, int socket, const char *hostname)
{
(void) hostname;
struct irc_socks_data *data = user_data;
data->ctx->irc_fd = socket;
data->succeeded = true;