diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-10-24 11:06:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-10-24 11:06:34 -0400 |
commit | 594140574e7366efac693d440a636a1e1cce82ff (patch) | |
tree | 9db48ee78a42be30bb19c2c0287f3416185d6a4d /src/feature/dircache/dirserv.h | |
parent | 81a5448c187458ea3edcc0a72044a4cfdf0273bf (diff) | |
download | tor-594140574e7366efac693d440a636a1e1cce82ff.tar.gz tor-594140574e7366efac693d440a636a1e1cce82ff.zip |
Fix remaining cases of using consensus without a len parameter.
(Thanks to cyberpunks for noting two of them!)
Diffstat (limited to 'src/feature/dircache/dirserv.h')
-rw-r--r-- | src/feature/dircache/dirserv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/dircache/dirserv.h b/src/feature/dircache/dirserv.h index 9be4bf9db2..c430987aa7 100644 --- a/src/feature/dircache/dirserv.h +++ b/src/feature/dircache/dirserv.h @@ -148,6 +148,7 @@ int directory_too_idle_to_fetch_descriptors(const or_options_t *options, cached_dir_t *dirserv_get_consensus(const char *flavor_name); void dirserv_set_cached_consensus_networkstatus(const char *consensus, + size_t consensus_len, const char *flavor_name, const common_digests_t *digests, const uint8_t *sha3_as_signed, |