aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirauth_config.h
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-30 22:32:24 +1000
committerteor <teor@torproject.org>2019-11-04 13:10:00 +1000
commitfd18d512706cbaef2d9f10071fb684c64c3db781 (patch)
tree7b4e616cafbda07e2fff17c79b3d78d98df87b56 /src/feature/dirauth/dirauth_config.h
parentd6654580851425a67686de2122cd6978e2809667 (diff)
downloadtor-fd18d512706cbaef2d9f10071fb684c64c3db781.tar.gz
tor-fd18d512706cbaef2d9f10071fb684c64c3db781.zip
dirauth: Refactor some code and tests
Minor simplification and refactoring. Make the dirauth tests focus on testing the intention of the code, rather than option processing order. Part of 32213.
Diffstat (limited to 'src/feature/dirauth/dirauth_config.h')
-rw-r--r--src/feature/dirauth/dirauth_config.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/feature/dirauth/dirauth_config.h b/src/feature/dirauth/dirauth_config.h
index 965472aa2d..fbe4ec1a52 100644
--- a/src/feature/dirauth/dirauth_config.h
+++ b/src/feature/dirauth/dirauth_config.h
@@ -67,19 +67,15 @@ options_validate_dirauth_mode(const or_options_t *old_options,
#define options_validate_dirauth_bandwidth(old_options, options, msg) \
(((void)(old_options)),((void)(options)),((void)(msg)),0)
-
#define options_validate_dirauth_schedule(old_options, options, msg) \
(((void)(old_options)),((void)(options)),((void)(msg)),0)
-
#define options_validate_dirauth_testing(old_options, options, msg) \
(((void)(old_options)),((void)(options)),((void)(msg)),0)
-
#define options_validate_dirauth_testing(old_options, options, msg) \
(((void)(old_options)),((void)(options)),((void)(msg)),0)
#define options_act_dirauth(old_options) \
(((void)(old_options)),0)
-
#define options_act_dirauth_mtbf(old_options) \
(((void)(old_options)),0)