mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
quiet another instance where we whine to an innocent OR operator's
logs when some other server switches keys unexpectedly. svn:r4032
This commit is contained in:
parent
b16ff67fbf
commit
8596947ee2
@ -504,7 +504,8 @@ connection_tls_finish_handshake(connection_t *conn) {
|
||||
char d[HEX_DIGEST_LEN+1];
|
||||
base16_encode(d, HEX_DIGEST_LEN+1, digest_rcvd, DIGEST_LEN);
|
||||
if (strcasecmp(d,conn->nickname+1)) {
|
||||
log_fn(LOG_WARN, "Identity key not as expected for router at %s:%d: wanted %s but got %s",
|
||||
log_fn(severity,
|
||||
"Identity key not as expected for router at %s:%d: wanted %s but got %s",
|
||||
conn->address, conn->port, conn->nickname, d);
|
||||
control_event_or_conn_status(conn, OR_CONN_EVENT_FAILED);
|
||||
// XXX if we're an authdir_mode, forget about nickname's descriptor
|
||||
|
Loading…
Reference in New Issue
Block a user