hs-v3: Always generate the descriptor cookie
commit56f713b8a477b4203f3bfd8f3ad0952706dc9599
authorDavid Goulet <dgoulet@torproject.org>
Thu, 18 Oct 2018 15:44:26 +0000 (18 11:44 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Thu, 18 Oct 2018 15:46:07 +0000 (18 11:46 -0400)
treef1872f30fa05c33f44037539e010418621e4625b
parenta5599fb71c51ddec47282164f71cfb06933096cc
hs-v3: Always generate the descriptor cookie

It won't be used if there are no authorized client configured. We do that so
we can easily support the addition of a client with a HUP signal which allow
us to avoid more complex code path to generate that cookie if we have at least
one client auth and we had none before.

Fixes #27995

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/ticket27995 [new file with mode: 0644]
src/feature/hs/hs_service.c