Fix two more DirServer mentions in log

This commit is contained in:
Nick Mathewson 2013-11-10 12:23:56 -05:00
parent 56ac75b265
commit 8bfa596c15
1 changed files with 2 additions and 2 deletions

View File

@ -955,14 +955,14 @@ init_keys(void)
}
if (ds->type != type) {
log_warn(LD_DIR, "Configured authority type does not match authority "
"type in DirServer list. Adjusting. (%d v %d)",
"type in DirAuthority list. Adjusting. (%d v %d)",
type, ds->type);
ds->type = type;
}
if (v3_digest_set && (ds->type & V3_DIRINFO) &&
tor_memneq(v3_digest, ds->v3_identity_digest, DIGEST_LEN)) {
log_warn(LD_DIR, "V3 identity key does not match identity declared in "
"DirServer line. Adjusting.");
"DirAuthority line. Adjusting.");
memcpy(ds->v3_identity_digest, v3_digest, DIGEST_LEN);
}