diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-03 10:17:37 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-04 08:37:41 -0400 |
commit | 112286338b61ed747572cfa67ac38e2052e7c807 (patch) | |
tree | 55fa2684d9ab3201011cb65da950687cf1db9974 /src/or/networkstatus.c | |
parent | 0418357ffd575ff4a3ec95937f596776c3b9ecec (diff) | |
download | tor-112286338b61ed747572cfa67ac38e2052e7c807.tar.gz tor-112286338b61ed747572cfa67ac38e2052e7c807.zip |
Store the sha3 of a networkstatus as part of the networkstatus_t
Also store it in the cached_dir_t.
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 188e7531f8..8a5cdaf863 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1981,6 +1981,7 @@ networkstatus_set_current_consensus(const char *consensus, dirserv_set_cached_consensus_networkstatus(consensus, flavor, &c->digests, + c->digest_full_sha3, c->valid_after); if (server_mode(get_options())) { consdiffmgr_add_consensus(consensus, c); |