mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
be less noisy about complaining when a jap client tries to connect
and we refuse him. svn:r3472
This commit is contained in:
parent
e14417f130
commit
5d8659429e
@ -345,7 +345,7 @@ connection_tls_finish_handshake(connection_t *conn) {
|
|||||||
connection_watch_events(conn, EV_READ);
|
connection_watch_events(conn, EV_READ);
|
||||||
log_fn(LOG_DEBUG,"tls handshake done. verifying.");
|
log_fn(LOG_DEBUG,"tls handshake done. verifying.");
|
||||||
if (! tor_tls_peer_has_cert(conn->tls)) {
|
if (! tor_tls_peer_has_cert(conn->tls)) {
|
||||||
log_fn(LOG_WARN,"Peer didn't send a cert! Closing.");
|
log_fn(LOG_INFO,"Peer didn't send a cert! Closing.");
|
||||||
/* XXX we should handle this case rather than just closing. */
|
/* XXX we should handle this case rather than just closing. */
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user