summaryrefslogtreecommitdiff
path: root/src/test/test_controller.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-04-07 10:28:57 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-05-09 10:30:37 -0400
commit0cc18ef64cc184d3af0b87378be10f2a8a163fc6 (patch)
tree0f113ac80466973184cefce9c00ddb1897c0c894 /src/test/test_controller.c
parent4273a39ac2bf981056031d127506ba8a8ce0efc7 (diff)
downloadtor-0cc18ef64cc184d3af0b87378be10f2a8a163fc6.tar.gz
tor-0cc18ef64cc184d3af0b87378be10f2a8a163fc6.zip
test: Move duplicate HS test code and unify it
Create the hs_test_helpers.{c|h} files that contains helper functions to create introduction point, descriptor and compare descriptor. Used by both the hs cache and hs descriptor tests. Unify them to avoid code duplication. Also, this commit fixes the usage of the signing key that was wrongly used when creating a cross signed certificate. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_controller.c')
0 files changed, 0 insertions, 0 deletions