aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 6b89eceb5..caf018d27 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3039,7 +3039,7 @@ options_validate(or_options_t *old_options, or_options_t *options,
}
if (options->AuthoritativeDir) {
- if (!options->ContactInfo)
+ if (!options->ContactInfo && !options->TestingTorNetwork)
REJECT("Authoritative directory servers must set ContactInfo");
if (options->V1AuthoritativeDir && !options->RecommendedVersions)
REJECT("V1 auth dir servers must set RecommendedVersions.");