when we're an auth dir server but don't claim to be a versioning

auth dir server, don't demand that we define RecommendedVersions.


svn:r6180
This commit is contained in:
Roger Dingledine 2006-03-17 23:21:42 +00:00
parent 51fc6799ad
commit c7839a17f5

View File

@ -2172,8 +2172,8 @@ options_validate(or_options_t *old_options, or_options_t *options,
if (options->AuthoritativeDir) {
if (!options->ContactInfo)
REJECT("Authoritative directory servers must set ContactInfo");
if (!options->RecommendedVersions)
REJECT("Authoritative directory servers must set RecommendedVersions.");
if (VersioningAuthoritativeDir && !options->RecommendedVersions)
REJECT("Versioning auth dir servers must set RecommendedVersions.");
if (!options->RecommendedClientVersions)
options->RecommendedClientVersions =
config_lines_dup(options->RecommendedVersions);