hs-v3: Refactor DoS cell extension parameters validation
commit461d231289584110bde37ab498db3631fb6b0cf1
authorDavid Goulet <dgoulet@torproject.org>
Tue, 20 Aug 2019 13:38:13 +0000 (20 09:38 -0400)
committerGeorge Kadianakis <desnacked@riseup.net>
Mon, 26 Aug 2019 12:53:47 +0000 (26 15:53 +0300)
treef472fd45936c7b5545269af78006adf096c3ca9e
parent1c4607b13254942256b869ff0044d205518cc949
hs-v3: Refactor DoS cell extension parameters validation

Move everything to its own function in order to better log, document and tests
the introduction point validation process.

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/feature/hs/hs_config.h
src/feature/hs/hs_intropoint.c
src/feature/hs/hs_intropoint.h
src/test/test_hs_dos.c