summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-19 14:34:26 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-19 14:34:26 -0400
commit3c490190163e227d37eb989b41df152e8500e059 (patch)
treea1d71afdf5f4e902df0b7bdde308ada29652db16 /src/app
parentc1092e9aab3aac5c26512872e80a53728bc0fdbc (diff)
parent7260d07feec41a37d57e5e046d154760d569ecc6 (diff)
downloadtor-3c490190163e227d37eb989b41df152e8500e059.tar.gz
tor-3c490190163e227d37eb989b41df152e8500e059.zip
Merge branch 'maint-0.3.4'
Diffstat (limited to 'src/app')
-rw-r--r--src/app/config/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index 4f52fa089a..c7310f775b 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -3545,12 +3545,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 "