From 131da887d75bd112e668db3c1695ad8cc5a76433 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Wed, 21 Oct 2020 14:17:30 +0300 Subject: Write unittests for v3 metrics. --- src/test/hs_test_helpers.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test/hs_test_helpers.h') 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, -- cgit v1.2.3-54-g00ecf