diff options
author | teor <teor@torproject.org> | 2019-08-12 09:49:53 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-08-12 09:49:53 +1000 |
commit | f65f4b5c38bc79e2b3f1a10c21cedce9376ad87e (patch) | |
tree | 5003cc1f6cb6d9ae3e6bc88a1008869d6d278ea4 /src/feature/dirauth | |
parent | 8ea0903222610b75e8b0c58297148267a299af31 (diff) | |
parent | 0c451b31d2694c96ec20145e3b0e9b22cd54819d (diff) | |
download | tor-f65f4b5c38bc79e2b3f1a10c21cedce9376ad87e.tar.gz tor-f65f4b5c38bc79e2b3f1a10c21cedce9376ad87e.zip |
Merge remote-tracking branch 'tor-github/pr/1020' into maint-0.3.5
Diffstat (limited to 'src/feature/dirauth')
-rw-r--r-- | src/feature/dirauth/authmode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature/dirauth/authmode.h b/src/feature/dirauth/authmode.h index 40a89c7397..876a1f947b 100644 --- a/src/feature/dirauth/authmode.h +++ b/src/feature/dirauth/authmode.h @@ -27,6 +27,8 @@ authdir_mode_v3(const or_options_t *options) return authdir_mode(options) && options->V3AuthoritativeDir != 0; } +#define have_module_dirauth() (1) + #else /* HAVE_MODULE_DIRAUTH */ #define authdir_mode(options) (((void)(options)),0) @@ -37,6 +39,8 @@ authdir_mode_v3(const or_options_t *options) #define authdir_mode_bridge(options) (((void)(options)),0) #define authdir_mode_v3(options) (((void)(options)),0) +#define have_module_dirauth() (0) + #endif /* HAVE_MODULE_DIRAUTH */ #endif /* TOR_MODE_H */ |