]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Look at the correct protocol for supports_v3_rendezvous_point
authorNick Mathewson <nickm@torproject.org>
Wed, 31 Jan 2018 19:01:49 +0000 (14:01 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 31 Jan 2018 19:01:49 +0000 (14:01 -0500)
Fixes bug 25105; bugfix on 0.3.2.1-alpha.

changes/bug25105 [new file with mode: 0644]
src/or/routerparse.c

diff --git a/changes/bug25105 b/changes/bug25105
new file mode 100644 (file)
index 0000000..36d1a5f
--- /dev/null
@@ -0,0 +1,5 @@
+  o Minor bugfixes (v3 onion services):
+    - Look at the "HSRend" protocol version, not the "HSDir" protocol
+      version, when deciding whether a consensus entry can support
+      the v3 onion service protocol as a rendezvous point.
+      Fixes bug 25105; bugfix on 0.3.2.1-alpha.
index 54759c9a7bbf4bfc5db10af2716ead99a4c50b16..fc071b11d37bf6f3eaf120228a249d2e67b55e4a 100644 (file)
@@ -2565,7 +2565,7 @@ summarize_protover_flags(protover_summary_flags_t *out,
       protocol_list_supports_protocol(protocols, PRT_HSDIR,
                                       PROTOVER_HSDIR_V3);
     out->supports_v3_rendezvous_point =
-      protocol_list_supports_protocol(protocols, PRT_HSDIR,
+      protocol_list_supports_protocol(protocols, PRT_HSREND,
                                       PROTOVER_HS_RENDEZVOUS_POINT_V3);
   }
   if (version && !strcmpstart(version, "Tor ")) {