be less noisy about complaining when a jap client tries to connect

and we refuse him.


svn:r3472
This commit is contained in:
Roger Dingledine 2005-01-30 23:52:47 +00:00
parent e14417f130
commit 5d8659429e

View File

@ -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;
} }