tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 45c1a36acb0c859d647014d2d41b8497ecebcc14
parent d8aa69925380acf165335917bb87becb2f659875
Author: Alexander Færøy <ahf@torproject.org>
Date:   Tue, 21 Nov 2023 18:04:38 +0000

Merge branch 'eol-config-no-spurious-warn' into 'main'

don't warn for empty RecommendedServerVersion

Closes #40888

See merge request tpo/core/tor!787
Diffstat:
Msrc/feature/dirauth/dirauth_config.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/feature/dirauth/dirauth_config.c b/src/feature/dirauth/dirauth_config.c @@ -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;