mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
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:
parent
51fc6799ad
commit
c7839a17f5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user