mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
test: Unit test for the hs cache decrypt on new auth
Part of #30382 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
committed by
George Kadianakis
parent
c0dd5324b3
commit
3892ac7c71
@@ -2140,4 +2140,10 @@ get_hs_client_auths_map(void)
|
||||
return client_auths;
|
||||
}
|
||||
|
||||
STATIC void
|
||||
set_hs_client_auths_map(digest256map_t *map)
|
||||
{
|
||||
client_auths = map;
|
||||
}
|
||||
|
||||
#endif /* defined(TOR_UNIT_TESTS) */
|
||||
|
||||
@@ -115,6 +115,7 @@ STATIC void retry_all_socks_conn_waiting_for_desc(void);
|
||||
#ifdef TOR_UNIT_TESTS
|
||||
|
||||
STATIC digest256map_t *get_hs_client_auths_map(void);
|
||||
STATIC void set_hs_client_auths_map(digest256map_t *map);
|
||||
|
||||
#endif /* defined(TOR_UNIT_TESTS) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user