aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-02-16 13:59:37 -0500
committerDavid Goulet <dgoulet@torproject.org>2022-02-16 13:59:37 -0500
commitd057f45c6c446023eb368e8dab6b0d0a9d1c0d1d (patch)
tree388411087ffc147a86a7f062c9515cb0d6fc4cc0 /src/feature
parentea48ddc9552ecfc73d3b2186c05ee15cd7cc361d (diff)
parent7eb543787873230e4fd51da42b74a9a771840cd9 (diff)
downloadtor-d057f45c6c446023eb368e8dab6b0d0a9d1c0d1d.tar.gz
tor-d057f45c6c446023eb368e8dab6b0d0a9d1c0d1d.zip
Merge branch 'tor-gitlab/mr/531'
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/dirauth/process_descs.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/feature/dirauth/process_descs.c b/src/feature/dirauth/process_descs.c
index a75f516dca..7d61247e23 100644
--- a/src/feature/dirauth/process_descs.c
+++ b/src/feature/dirauth/process_descs.c
@@ -404,21 +404,8 @@ dirserv_rejects_tor_version(const char *platform,
static const char please_upgrade_string[] =
"Tor version is insecure or unsupported. Please upgrade!";
- /* Versions before Tor 0.3.5 are unsupported.
- *
- * Also, reject unstable versions of 0.3.5, since (as of this writing)
- * they are almost none of the network. */
- if (!tor_version_as_new_as(platform,"0.3.5.7")) {
- if (msg)
- *msg = please_upgrade_string;
- return true;
- }
-
- /* Series between Tor 0.3.6.x and 0.4.5.5-rc inclusive are unsupported.
- * Reject them. 0.3.6.0-alpha-dev only existed for a short time, before it
- * was renamed to 0.4.0.0-alpha-dev. */
- if (tor_version_as_new_as(platform,"0.3.6.0-alpha-dev") &&
- !tor_version_as_new_as(platform,"0.4.5.6")) {
+ /* Anything before 0.4.5.6 is unsupported. Reject them. */
+ if (!tor_version_as_new_as(platform,"0.4.5.6")) {
if (msg) {
*msg = please_upgrade_string;
}