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
This commit is contained in:
Roger Dingledine 2006-04-08 20:35:19 +00:00
parent fab1feee26
commit f1692ebefc

View File

@ -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;
}
}