test: Adapt HS DoS test to use latest parameter
commit1c554334ac6a7d39c69ec8dd26702a613bb899b4
authorDavid Goulet <dgoulet@torproject.org>
Wed, 14 Aug 2019 14:41:40 +0000 (14 10:41 -0400)
committerGeorge Kadianakis <desnacked@riseup.net>
Mon, 26 Aug 2019 12:53:46 +0000 (26 15:53 +0300)
treeb364358755326258c10c7ce69975a0bc7d446ea5
parent4c71accc49616e00cfaa021ee5c87b34cd0220d2
test: Adapt HS DoS test to use latest parameter

We added a flag on the circuit to know if the DoS defenses are enabled or not.
Before, it was solely the consensus parameter.

Part of #30924

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/test/test_hs_dos.c