Commit 2d61a835 authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Merge remote-tracking branch 'dgoulet/bug26069_031_01' into maint-0.3.1

parents ba704392 6e99286d
Loading
Loading
Loading
Loading

changes/bug26069

0 → 100644
+5 −0
Original line number Diff line number Diff line
  o Minor bugfixes (hidden service v3):
    - When parsing the descriptor signature, look for the token plus an extra
      white-space at the end. This is more correct but also will allow us to
      support new fields that might start with "signature". Fixes bug 26069;
      bugfix on 0.3.0.1-alpha.
+1 −1
Original line number Diff line number Diff line
@@ -1849,7 +1849,7 @@ desc_sig_is_valid(const char *b64_sig,
  }

  /* Find the start of signature. */
  sig_start = tor_memstr(encoded_desc, encoded_len, "\n" str_signature);
  sig_start = tor_memstr(encoded_desc, encoded_len, "\n" str_signature " ");
  /* Getting here means the token parsing worked for the signature so if we
   * can't find the start of the signature, we have a code flow issue. */
  if (!sig_start) {