diff options
author | David Goulet <dgoulet@torproject.org> | 2018-05-02 13:42:24 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-05-02 13:42:24 -0400 |
commit | 1f739e9b06974566685c662c3526384efd68ed32 (patch) | |
tree | c2fdb73da5441b405518a5cc404e2af2299959eb /src/or/router.h | |
parent | 1ef1ed76d864b6c3147c0444d9114ebcc53c18b5 (diff) | |
download | tor-1f739e9b06974566685c662c3526384efd68ed32.tar.gz tor-1f739e9b06974566685c662c3526384efd68ed32.zip |
dirauth: Move authdir_mode_v3() to module
This function must return false if the module is not compiled in. In order to
do that, we move the authdir_mode_v3() function out of router.c and into the
dirauth module new header file named mode.h.
It is always returning false if we don't have the module.
Closes #25990
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/router.h')
-rw-r--r-- | src/or/router.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/router.h b/src/or/router.h index e5efe577e3..03eca9c65d 100644 --- a/src/or/router.h +++ b/src/or/router.h @@ -55,7 +55,6 @@ void router_perform_bandwidth_test(int num_circs, time_t now); int net_is_disabled(void); int authdir_mode(const or_options_t *options); -int authdir_mode_v3(const or_options_t *options); int authdir_mode_handles_descs(const or_options_t *options, int purpose); int authdir_mode_publishes_statuses(const or_options_t *options); int authdir_mode_tests_reachability(const or_options_t *options); |