diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-04-16 15:36:20 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-24 11:01:40 -0400 |
commit | 6cc21aa89cc1b9dea6e5256722597e3bf07d1a20 (patch) | |
tree | 5b6e72dcfd14c1fd4fc891af4c789be821f2fa5e /src/or/consdiffmgr.h | |
parent | bb38657b7790934635facb569db79f7792bbb199 (diff) | |
download | tor-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.h | 3 |
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 |