diff options
author | David Goulet <dgoulet@torproject.org> | 2017-08-30 09:15:54 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-30 09:15:54 -0400 |
commit | 22295759afa90f19b06e2b657ce84d518c2390fd (patch) | |
tree | 87ab2f6eeca8091e4c775c031910863b918077b3 /src/or/hs_cache.h | |
parent | 209bfe715cc8c1c59b2578c406749a0d4a5bd8cb (diff) | |
download | tor-22295759afa90f19b06e2b657ce84d518c2390fd.tar.gz tor-22295759afa90f19b06e2b657ce84d518c2390fd.zip |
prop224: Purge client state on NEWNYM
Closes #23355
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_cache.h')
-rw-r--r-- | src/or/hs_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/hs_cache.h b/src/or/hs_cache.h index 2a4d2dbb2f..8dbc842b95 100644 --- a/src/or/hs_cache.h +++ b/src/or/hs_cache.h @@ -84,6 +84,7 @@ hs_cache_lookup_as_client(const ed25519_public_key_t *key); int hs_cache_store_as_client(const char *desc_str, const ed25519_public_key_t *identity_pk); void hs_cache_clean_as_client(time_t now); +void hs_cache_purge_as_client(void); /* Client failure cache. */ void hs_cache_client_intro_state_note(const ed25519_public_key_t *service_pk, @@ -93,6 +94,7 @@ const hs_cache_intro_state_t *hs_cache_client_intro_state_find( const ed25519_public_key_t *service_pk, const ed25519_public_key_t *auth_key); void hs_cache_client_intro_state_clean(time_t now); +void hs_cache_client_intro_state_purge(void); #ifdef HS_CACHE_PRIVATE |