diff options
author | Roger Dingledine <arma@torproject.org> | 2005-07-19 21:26:24 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-07-19 21:26:24 +0000 |
commit | eedb7c243ec3d56a96981e3954b169633911b751 (patch) | |
tree | 2364ec1d42c55b2544b102e3d65f176a63cd710b /src/or/connection_or.c | |
parent | f2bc79ba89e16b6980a3eac0b52a6f48d33196ef (diff) | |
download | tor-eedb7c243ec3d56a96981e3954b169633911b751.tar.gz tor-eedb7c243ec3d56a96981e3954b169633911b751.zip |
be consistent about printing out key digest $'s when we're getting a
different key than we expect
svn:r4609
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index f26c7876a3..008e401fe4 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -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; } |