aboutsummaryrefslogtreecommitdiff
path: root/src/or/consdiffmgr.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-16 15:36:20 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-24 11:01:40 -0400
commit6cc21aa89cc1b9dea6e5256722597e3bf07d1a20 (patch)
tree5b6e72dcfd14c1fd4fc891af4c789be821f2fa5e /src/or/consdiffmgr.h
parentbb38657b7790934635facb569db79f7792bbb199 (diff)
downloadtor-6cc21aa89cc1b9dea6e5256722597e3bf07d1a20.tar.gz
tor-6cc21aa89cc1b9dea6e5256722597e3bf07d1a20.zip
consdiffmgr: add tests for cdm_entry_get_sha3_value
Diffstat (limited to 'src/or/consdiffmgr.h')
-rw-r--r--src/or/consdiffmgr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/consdiffmgr.h b/src/or/consdiffmgr.h
index 3e89ea2b23..b6b7555ad9 100644
--- a/src/or/consdiffmgr.h
+++ b/src/or/consdiffmgr.h
@@ -39,6 +39,9 @@ int consdiffmgr_validate(void);
STATIC consensus_cache_t *cdm_cache_get(void);
STATIC consensus_cache_entry_t *cdm_cache_lookup_consensus(
consensus_flavor_t flavor, time_t valid_after);
+STATIC int cdm_entry_get_sha3_value(uint8_t *digest_out,
+ consensus_cache_entry_t *ent,
+ const char *label);
#endif
#endif