Explorar el Código

Merge branch 'bug25105_032' into maint-0.3.2

Nick Mathewson hace 6 años
padre
commit
56857291b0
Se han modificado 2 ficheros con 6 adiciones y 1 borrados
  1. 5 0
      changes/bug25105
  2. 1 1
      src/or/routerparse.c

+ 5 - 0
changes/bug25105

@@ -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.

+ 1 - 1
src/or/routerparse.c

@@ -2709,7 +2709,7 @@ routerstatus_parse_entry_from_string(memarea_t *area,
       protocol_list_supports_protocol(tok->args[0], PRT_HSDIR,
                                       PROTOVER_HSDIR_V3);
     rs->supports_v3_rendezvous_point =
-      protocol_list_supports_protocol(tok->args[0], PRT_HSDIR,
+      protocol_list_supports_protocol(tok->args[0], PRT_HSREND,
                                       PROTOVER_HS_RENDEZVOUS_POINT_V3);
   }
   if ((tok = find_opt_by_keyword(tokens, K_V))) {