mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
be consistent about printing out key digest $'s when we're getting a
different key than we expect svn:r4609
This commit is contained in:
parent
f2bc79ba89
commit
eedb7c243e
@ -526,7 +526,7 @@ connection_or_check_valid_handshake(connection_t *conn, char *digest_rcvd)
|
||||
if (strcasecmp(d,conn->nickname+1)) {
|
||||
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);
|
||||
conn->address, conn->port, conn->nickname+1, d);
|
||||
control_event_or_conn_status(conn, OR_CONN_EVENT_FAILED);
|
||||
as_advertised = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user