commit sebastian's patch to not require contactinfo when testingtornetwork

is set


svn:r19257
This commit is contained in:
Roger Dingledine 2009-04-10 07:02:19 +00:00
parent d50501e5ed
commit c4145e5390

View File

@ -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.");