diff options
author | David Goulet <dgoulet@torproject.org> | 2019-05-30 08:55:40 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-08-06 07:58:14 -0400 |
commit | fec0a7b7cbae344bd813152c8a04b6e87b6fa9a7 (patch) | |
tree | cba52483f58185274ee9edb04523f41b892bdd7b /src/test/test.h | |
parent | 9f738be8937d675929b43a149d706160641a089d (diff) | |
download | tor-fec0a7b7cbae344bd813152c8a04b6e87b6fa9a7.tar.gz tor-fec0a7b7cbae344bd813152c8a04b6e87b6fa9a7.zip |
test: Add hs_dos.c unit tests
Currently test the only available function which is hs_dos_can_send_intro2()
within the HS anti-DoS subsystem.
Closes #15516
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test.h')
-rw-r--r-- | src/test/test.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test.h b/src/test/test.h index 322716a9ab..f5c21bfe88 100644 --- a/src/test/test.h +++ b/src/test/test.h @@ -227,6 +227,7 @@ extern struct testcase_t hs_common_tests[]; extern struct testcase_t hs_config_tests[]; extern struct testcase_t hs_control_tests[]; extern struct testcase_t hs_descriptor[]; +extern struct testcase_t hs_dos_tests[]; extern struct testcase_t hs_intropoint_tests[]; extern struct testcase_t hs_ntor_tests[]; extern struct testcase_t hs_service_tests[]; |