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:
James Canete
2007-11-15 03:12:18 +00:00
parent 1f453d2ecf
commit dd86aedd19
3 changed files with 110 additions and 76 deletions

View File

@@ -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
{