mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Make ContactInfo mandatory for authoritative directories.
svn:r4896
This commit is contained in:
parent
2e1d31b43b
commit
09e8521236
@ -1650,8 +1650,12 @@ options_validate(or_options_t *options)
|
||||
}
|
||||
|
||||
if (options->AuthoritativeDir) {
|
||||
if (!options->ContactInfo) {
|
||||
log(LOG_WARN, "Authoritative directory servers must set ContactInfo");
|
||||
result = -1;
|
||||
}
|
||||
if (!options->RecommendedVersions) {
|
||||
log(LOG_WARN, "Directory servers must configure RecommendedVersions.");
|
||||
log(LOG_WARN, "Authoritative directory servers must configure RecommendedVersions.");
|
||||
result = -1;
|
||||
}
|
||||
if (!options->RecommendedClientVersions)
|
||||
|
Loading…
Reference in New Issue
Block a user