diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-19 14:33:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-19 14:33:18 -0400 |
commit | 7260d07feec41a37d57e5e046d154760d569ecc6 (patch) | |
tree | 623db5d7cd5887ca8d8b42ec2af59e4096a50303 | |
parent | 27f5bd52fea3a18daadc455e9e044e997753c93d (diff) | |
download | tor-7260d07feec41a37d57e5e046d154760d569ecc6.tar.gz tor-7260d07feec41a37d57e5e046d154760d569ecc6.zip |
Fix linking when dirauth module is disabled.
Bugfix on dcee4d4c9cc7d98e5ae8e913c73a3afc41753c64, bug not in any
released Tor.
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 6f774b2605..b0e66ccd26 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3517,12 +3517,14 @@ options_validate(or_options_t *old_options, or_options_t *options, REJECT("Versioning authoritative dir servers must set " "Recommended*Versions."); +#ifdef HAVE_MODULE_DIRAUTH char *t; /* Call these functions to produce warnings only. */ t = format_recommended_version_list(options->RecommendedClientVersions, 1); tor_free(t); t = format_recommended_version_list(options->RecommendedServerVersions, 1); tor_free(t); +#endif if (options->UseEntryGuards) { log_info(LD_CONFIG, "Authoritative directory servers can't set " |