Force schannel to use RC4 to get around an schannel DES bug.
Fix a bug where a failed tls_start would cause a loop. Moved static variables in schannel into the tls struct.
This commit is contained in:
@@ -247,6 +247,9 @@ static int _handle_proceedtls_default(xmpp_conn_t * const conn,
|
||||
if (!tls_start(conn->tls))
|
||||
{
|
||||
xmpp_debug(conn->ctx, "xmpp", "Couldn't start TLS!");
|
||||
tls_free(conn->tls);
|
||||
conn->tls = NULL;
|
||||
xmpp_disconnect(conn);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user