Make tls_new accept xmpp_conn_t

This commit is contained in:
Alexander Krotov
2017-06-23 02:59:05 +03:00
parent f776b34d8c
commit c9ddc2b7ef
6 changed files with 16 additions and 16 deletions

View File

@@ -564,7 +564,7 @@ static void _auth(xmpp_conn_t * const conn)
}
if (conn->tls_support) {
tls_t *tls = tls_new(conn->ctx, conn->sock);
tls_t *tls = tls_new(conn);
/* If we couldn't init tls, it isn't there, so go on */
if (!tls) {