r9158@totoro: nickm | 2006-10-24 16:50:18 -0400

Oops on last authority patch: handle routers with unrecognized fingerprints correctly


svn:r8819
This commit is contained in:
Nick Mathewson 2006-10-24 20:51:28 +00:00
parent 3d0bac078f
commit ba1b04c736

View File

@ -348,7 +348,8 @@ dirserv_get_status_impl(const char *id_digest, const char *nickname,
}
status_by_digest = digestmap_get(fingerprint_list->status_by_digest,
id_digest);
result |= (status_by_digest->status & ~FP_NAMED);
if (status_by_digest)
result |= (status_by_digest->status & ~FP_NAMED);
if (result & FP_REJECT) {
if (msg)