summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-04-08 20:35:19 +0000
committerRoger Dingledine <arma@torproject.org>2006-04-08 20:35:19 +0000
commitf1692ebefce842bba0f1457cc3578ad59333edd1 (patch)
tree0b7a03f34572acaa2476156dd86701d60a651966
parentfab1feee26b26f925ddc9aff3412a646aa92a0b5 (diff)
downloadtor-f1692ebefce842bba0f1457cc3578ad59333edd1.tar.gz
tor-f1692ebefce842bba0f1457cc3578ad59333edd1.zip
when we do reachability testing and the tls cert at the other
end disagrees with a descriptor we already have, be more useful at explaining it. svn:r6322
-rw-r--r--src/or/dirserv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 0166c95b91..8d2c7fc887 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1641,16 +1641,16 @@ dirserv_orconn_tls_done(const char *address,
/* We have a router at the same address! */
if (strcasecmp(ri->nickname, nickname_rcvd)) {
log_notice(LD_DIRSERV,
- "Dropping descriptor: nickname '%s' does not match "
- "nickname '%s' in cert from %s:%d",
+ "Dropping old descriptor: nickname '%s' does not match "
+ "nickname '%s' in new cert from %s:%d",
ri->nickname, nickname_rcvd, address, or_port);
drop = 1;
} else if (memcmp(ri->cache_info.identity_digest, digest_rcvd,
DIGEST_LEN)) {
log_notice(LD_DIRSERV,
- "Dropping descriptor: identity key does not match "
- "key in cert from %s:%d",
- address, or_port);
+ "Dropping old descriptor for nickname '%s': "
+ "identity key does not match key in new cert from %s:%d",
+ ri->nickname, address, or_port);
drop = 1;
}
}