summaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-04 14:21:53 -0400
committerNick Mathewson <nickm@torproject.org>2016-11-04 14:22:04 -0400
commita4291eef5aeeb9ba8939b563a657ac50d4447b7e (patch)
treed14b249aff2e879b591d0c5883e55746d7c252a2 /src/or/hs_descriptor.h
parent6ac85ca2b4ca669657f19afc8e622ac2dd7191d2 (diff)
downloadtor-a4291eef5aeeb9ba8939b563a657ac50d4447b7e.tar.gz
tor-a4291eef5aeeb9ba8939b563a657ac50d4447b7e.zip
Expose desc_intro_point_free to the tests, and use it.
Also fix another couple of leaks.
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 0c30a52794..8bc725674e 100644
--- a/src/or/hs_descriptor.h
+++ b/src/or/hs_descriptor.h
@@ -232,7 +232,7 @@ STATIC int cert_is_valid(tor_cert_t *cert, uint8_t type,
STATIC int desc_sig_is_valid(const char *b64_sig,
const ed25519_keypair_t *signing_kp,
const char *encoded_desc, size_t encoded_len);
-
+STATIC void desc_intro_point_free(hs_desc_intro_point_t *ip);
#endif /* HS_DESCRIPTOR_PRIVATE */
#endif /* TOR_HS_DESCRIPTOR_H */