diff options
author | George Kadianakis <desnacked@riseup.net> | 2020-10-21 14:17:30 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2020-11-03 11:12:17 +0200 |
commit | 131da887d75bd112e668db3c1695ad8cc5a76433 (patch) | |
tree | 9adf7e0cd9bbbd3f5203ade14c661515df460b3a /src/test/hs_test_helpers.h | |
parent | 5c00bee1b1cde4bb77a2e3fa1f5110850ddede6e (diff) | |
download | tor-131da887d75bd112e668db3c1695ad8cc5a76433.tar.gz tor-131da887d75bd112e668db3c1695ad8cc5a76433.zip |
Write unittests for v3 metrics.
Diffstat (limited to 'src/test/hs_test_helpers.h')
-rw-r--r-- | src/test/hs_test_helpers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/hs_test_helpers.h b/src/test/hs_test_helpers.h index 23d11f2a4a..e22295b660 100644 --- a/src/test/hs_test_helpers.h +++ b/src/test/hs_test_helpers.h @@ -17,6 +17,10 @@ hs_descriptor_t *hs_helper_build_hs_desc_no_ip( const ed25519_keypair_t *signing_kp); hs_descriptor_t *hs_helper_build_hs_desc_with_ip( const ed25519_keypair_t *signing_kp); +hs_descriptor_t * +hs_helper_build_hs_desc_with_rev_counter(const ed25519_keypair_t *signing_kp, + uint64_t revision_counter); + hs_descriptor_t *hs_helper_build_hs_desc_with_client_auth( const uint8_t *descriptor_cookie, const curve25519_public_key_t *client_pk, |