mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
if we're the server-side of the tls and there are problems,
don't yell as loudly. svn:r6716
This commit is contained in:
parent
5c661654a0
commit
5dc1e6f788
@ -531,7 +531,8 @@ tor_tls_handshake(tor_tls_t *tls)
|
|||||||
}
|
}
|
||||||
r = tor_tls_get_error(tls,r,0, "handshaking", LOG_INFO);
|
r = tor_tls_get_error(tls,r,0, "handshaking", LOG_INFO);
|
||||||
if (ERR_peek_error() != 0) {
|
if (ERR_peek_error() != 0) {
|
||||||
tls_log_errors(LOG_WARN, "handshaking");
|
tls_log_errors(tls->isServer ? LOG_PROTOCOL_WARN : LOG_WARN,
|
||||||
|
"handshaking");
|
||||||
return TOR_TLS_ERROR;
|
return TOR_TLS_ERROR;
|
||||||
}
|
}
|
||||||
if (r == TOR_TLS_DONE) {
|
if (r == TOR_TLS_DONE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user