Skip to content
Snippets Groups Projects
Commit bcbc8c51 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Do not serve encrypt-only descriptors with the "all" request. Reported by piebeer

parent 10ad3442
No related branches found
No related tags found
No related merge requests found
......@@ -2699,6 +2699,8 @@ dirserv_get_routerdesc_fingerprints(smartlist_t *fps_out, const char *key,
SMARTLIST_FOREACH(rl->routers, routerinfo_t *, r,
smartlist_add(fps_out,
tor_memdup(r->cache_info.identity_digest, DIGEST_LEN)));
/* Treat "all" requests as if they were unencrypted */
for_unencrypted_conn = 1;
} else if (!strcmp(key, "authority")) {
routerinfo_t *ri = router_get_my_routerinfo();
if (ri)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment