tor

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

commit 635220734df1e3520fa81dff8be5ad6326ee8d64
parent cec6f9919d3128646d85c75d08338bea4b31bffa
Author: trinity-1686a <trinity@deuxfleurs.fr>
Date:   Thu, 16 Nov 2023 19:13:28 +0100

don't warn for empty RecommendedServerVersion

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;