diff options
author | David Goulet <dgoulet@torproject.org> | 2018-04-25 11:12:56 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-05-01 10:07:09 -0400 |
commit | 0f3b765b3c8ba6f4f105440861e87ecaf4ea4323 (patch) | |
tree | f7ceff711fc0fb24ca890aca06aa6c0dfa6dd3e8 /src/or/consdiff.c | |
parent | fdc01cb40e1c982c273f7e9685c586ee1ef89e30 (diff) | |
download | tor-0f3b765b3c8ba6f4f105440861e87ecaf4ea4323.tar.gz tor-0f3b765b3c8ba6f4f105440861e87ecaf4ea4323.zip |
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 <dgoulet@torproject.org>
Diffstat (limited to 'src/or/consdiff.c')
0 files changed, 0 insertions, 0 deletions