diff options
author | David Goulet <dgoulet@torproject.org> | 2017-09-26 12:03:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-10-03 10:56:46 -0400 |
commit | 30d2e0b71e9c42ff93af5239f54268bb24ce1744 (patch) | |
tree | 161613bdd1bd6aa9399a45275c5b6f675a813de1 /src/or/hs_client.h | |
parent | c232b6b59cc136f7053922b3efc14afd5c34b6ec (diff) | |
download | tor-30d2e0b71e9c42ff93af5239f54268bb24ce1744.tar.gz tor-30d2e0b71e9c42ff93af5239f54268bb24ce1744.zip |
test: Add an HS v3 descriptor fetch unit test
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_client.h')
-rw-r--r-- | src/or/hs_client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/hs_client.h b/src/or/hs_client.h index 1d0201903b..164accc0e6 100644 --- a/src/or/hs_client.h +++ b/src/or/hs_client.h @@ -82,6 +82,9 @@ desc_intro_point_to_extend_info(const hs_desc_intro_point_t *ip); STATIC int handle_rendezvous2(origin_circuit_t *circ, const uint8_t *payload, size_t payload_len); +MOCK_DECL(STATIC hs_client_fetch_status_t, + fetch_v3_desc, (const ed25519_public_key_t *onion_identity_pk)); + #endif /* defined(HS_CLIENT_PRIVATE) */ #endif /* !defined(TOR_HS_CLIENT_H) */ |