Skip to content
Snippets Groups Projects
Commit 0f3b765b authored by David Goulet's avatar David Goulet :panda_face:
Browse files

dirvote: Handling adding vote and signature if module is disabled


Both functions are used for directory request but they can only be used if the
running tor instance is a directory authority.

For this reason, make those symbols visible but hard assert() if they are
called when the module is disabled. This would mean we failed to safeguard the
entry point into the module.

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent fdc01cb4
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment