mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix download by SD digest
svn:r5272
This commit is contained in:
+1
-1
@@ -1409,8 +1409,8 @@ dirserv_get_routerdescs(smartlist_t *descs_out, const char *key)
|
||||
smartlist_add(descs_out, ri);
|
||||
} else if (!strcmpstart(key, "/tor/server/d/")) {
|
||||
smartlist_t *digests = smartlist_create();
|
||||
dir_split_resource_into_fingerprints(key, digests, NULL, 1);
|
||||
key += strlen("/tor/server/d/");
|
||||
dir_split_resource_into_fingerprints(key, digests, NULL, 1);
|
||||
SMARTLIST_FOREACH(digests, const char *, d,
|
||||
{
|
||||
routerinfo_t *ri = router_get_by_descriptor_digest(d);
|
||||
|
||||
Reference in New Issue
Block a user