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:
@@ -224,7 +224,7 @@ void xmpp_run_once(xmpp_ctx_t *ctx, const unsigned long timeout)
|
||||
if (conn->tls) {
|
||||
if (!tls_is_recoverable(tls_error(conn->tls)))
|
||||
{
|
||||
xmpp_debug(ctx, "xmpp", "Unrecoverable TLS error.");
|
||||
xmpp_debug(ctx, "xmpp", "Unrecoverable TLS error, %d.", tls_error(conn->tls));
|
||||
conn->error = tls_error(conn->tls);
|
||||
conn_disconnect(conn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user