aboutsummaryrefslogtreecommitdiff
path: root/src/test/hs_test_helpers.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-01-27 17:26:47 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2020-01-28 01:08:41 +0200
commitba99287d13782048f58a88dc5d18780fad9f2034 (patch)
tree12cb01a06bca75a9563733333ec279f73dc4d53c /src/test/hs_test_helpers.h
parent635f58bad23282e27fbc5833dbaae978dab25934 (diff)
downloadtor-ba99287d13782048f58a88dc5d18780fad9f2034.tar.gz
tor-ba99287d13782048f58a88dc5d18780fad9f2034.zip
Write unittest that covers cases of INTRODUCE1 handling.
Also fix some memleaks of other OB unittests.
Diffstat (limited to 'src/test/hs_test_helpers.h')
-rw-r--r--src/test/hs_test_helpers.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/test/hs_test_helpers.h b/src/test/hs_test_helpers.h
index cad4532826..23d11f2a4a 100644
--- a/src/test/hs_test_helpers.h
+++ b/src/test/hs_test_helpers.h
@@ -8,9 +8,11 @@
#include "feature/hs/hs_descriptor.h"
/* Set of functions to help build and test descriptors. */
-hs_desc_intro_point_t *hs_helper_build_intro_point(
- const ed25519_keypair_t *signing_kp, time_t now,
- const char *addr, int legacy);
+hs_desc_intro_point_t *
+hs_helper_build_intro_point(const ed25519_keypair_t *signing_kp, time_t now,
+ const char *addr, int legacy,
+ const ed25519_keypair_t *intro_auth_kp,
+ const curve25519_keypair_t *intro_enc_kp);
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(