mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
don't warn for empty RecommendedServerVersion
This commit is contained in:
parent
cec6f9919d
commit
635220734d
@ -471,7 +471,7 @@ dirauth_options_validate(const void *arg, char **msg)
|
||||
smartlist_split_string(version_sl, recommended_versions, ",",
|
||||
SPLIT_SKIP_SPACE, 0);
|
||||
SMARTLIST_FOREACH_BEGIN(version_sl, const char *, version) {
|
||||
if (tor_version_parse(version,
|
||||
if (version[0] != '\0' && tor_version_parse(version,
|
||||
&recommended_version) != 0) {
|
||||
COMPLAIN("Found unparseable version in RecommendedServerVersions");
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user