diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-05-02 16:35:22 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-07-07 11:12:26 -0400 |
commit | dc3a2037f54bcef14b7021b847edd91d36bf4514 (patch) | |
tree | f2c13af32ad0d5f85aa2fb1c7927129033821427 /src/test/rend_test_helpers.h | |
parent | 43a73f6eb648632552a20dd17f5736550df75e10 (diff) | |
download | tor-dc3a2037f54bcef14b7021b847edd91d36bf4514.tar.gz tor-dc3a2037f54bcef14b7021b847edd91d36bf4514.zip |
test: Move some test code to test helpers.
Move code to create connection streams and rend_data structures to
test_helpers so that we can use them from the e2e rendezvous circuit
unittests.
Diffstat (limited to 'src/test/rend_test_helpers.h')
-rw-r--r-- | src/test/rend_test_helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rend_test_helpers.h b/src/test/rend_test_helpers.h index 486adba436..6f0ef114de 100644 --- a/src/test/rend_test_helpers.h +++ b/src/test/rend_test_helpers.h @@ -10,6 +10,7 @@ void generate_desc(int time_diff, rend_encoded_v2_service_descriptor_t **desc, char **service_id, int intro_points); void create_descriptor(rend_service_descriptor_t **generated, char **service_id, int intro_points); +rend_data_t *mock_rend_data(const char *onion_address); #endif |