diff options
author | David Goulet <dgoulet@torproject.org> | 2018-09-05 13:37:37 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-09-07 14:03:55 -0400 |
commit | c76d00abfa779059b2936e5b84c032d0e36726d4 (patch) | |
tree | bffc22eca9bc5256d1d2979e5de66172bdaafbec /src/feature/hs/hs_descriptor.h | |
parent | 5e1d36c7db50d977c4a9a1ed9e80ac9800a6077e (diff) | |
download | tor-c76d00abfa779059b2936e5b84c032d0e36726d4.tar.gz tor-c76d00abfa779059b2936e5b84c032d0e36726d4.zip |
hs-v3: Make hs_desc_build_fake_authorized_client() return an object
Return a newly allocated fake client authorization object instead of taking
the object as a parameter.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/hs/hs_descriptor.h')
-rw-r--r-- | src/feature/hs/hs_descriptor.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/feature/hs/hs_descriptor.h b/src/feature/hs/hs_descriptor.h index 8ce5fd6a11..9d447105f9 100644 --- a/src/feature/hs/hs_descriptor.h +++ b/src/feature/hs/hs_descriptor.h @@ -302,8 +302,7 @@ void hs_desc_authorized_client_free_(hs_desc_authorized_client_t *client); link_specifier_t *hs_desc_lspec_to_trunnel( const hs_desc_link_specifier_t *spec); -void -hs_desc_build_fake_authorized_client(hs_desc_authorized_client_t *client_out); +hs_desc_authorized_client_t *hs_desc_build_fake_authorized_client(void); void hs_desc_build_authorized_client(const curve25519_public_key_t * client_auth_pk, const curve25519_secret_key_t * |