mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
make it less noisy for normal ORs when a server uses a false nickname
svn:r1359
This commit is contained in:
parent
4a5586b8e3
commit
8c3999c964
@ -233,7 +233,8 @@ static int connection_tls_finish_handshake(connection_t *conn) {
|
||||
}
|
||||
crypto_free_pk_env(pk);
|
||||
if (strcmp(conn->nickname, nickname)) {
|
||||
log_fn(LOG_WARN,"Other side claims to be '%s', but we wanted '%s'",
|
||||
log_fn(options.DirPort ? LOG_WARN : LOG_INFO,
|
||||
"Other side claims to be '%s', but we expected '%s'",
|
||||
nickname, conn->nickname);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user