summaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-03 15:51:24 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit3ce69a58ce908ea88443c1321a7e4378f059a897 (patch)
tree6ea3e0a9a461e331b043fff870a99df0fb22d3ea /src/or/hs_descriptor.h
parent3bc52dae8932b42c809e2b233d5c194b74fa4f9b (diff)
downloadtor-3ce69a58ce908ea88443c1321a7e4378f059a897.tar.gz
tor-3ce69a58ce908ea88443c1321a7e4378f059a897.zip
Rename some free() functions that are actually clear().
Diffstat (limited to 'src/or/hs_descriptor.h')
-rw-r--r--src/or/hs_descriptor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_descriptor.h b/src/or/hs_descriptor.h
index 2f1b0160ef..d9c632b589 100644
--- a/src/or/hs_descriptor.h
+++ b/src/or/hs_descriptor.h
@@ -209,7 +209,7 @@ void hs_desc_encrypted_data_free(hs_desc_encrypted_data_t *desc);
void hs_desc_link_specifier_free(hs_desc_link_specifier_t *ls);
hs_desc_link_specifier_t *hs_desc_link_specifier_new(
const extend_info_t *info, uint8_t type);
-void hs_descriptor_free_intro_points(hs_descriptor_t *desc);
+void hs_descriptor_clear_intro_points(hs_descriptor_t *desc);
int hs_desc_encode_descriptor(const hs_descriptor_t *desc,
const ed25519_keypair_t *signing_kp,