mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
r13081@catbus: nickm | 2007-05-30 00:45:34 -0400
Backport r10305; probably harmless; Set signed_descriptor_digest field in own descriptor correctly. svn:r10405
This commit is contained in:
+3
-3
@@ -949,9 +949,9 @@ router_rebuild_descriptor(int force)
|
||||
}
|
||||
ri->cache_info.signed_descriptor_len =
|
||||
strlen(ri->cache_info.signed_descriptor_body);
|
||||
crypto_digest(ri->cache_info.signed_descriptor_digest,
|
||||
ri->cache_info.signed_descriptor_body,
|
||||
ri->cache_info.signed_descriptor_len);
|
||||
|
||||
router_get_router_hash(ri->cache_info.signed_descriptor_body,
|
||||
ri->cache_info.signed_descriptor_digest);
|
||||
|
||||
if (desc_routerinfo)
|
||||
routerinfo_free(desc_routerinfo);
|
||||
|
||||
Reference in New Issue
Block a user