aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-10 09:22:32 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-10 09:22:32 -0400
commit382beb93cb4110b2bcc82ab69c8e72c274a51ca2 (patch)
tree2ca14fb6bb7b424db696da02609bd6144bb53537 /src
parent2eff709edb52e2bf6565dd8d00d7f2b79a05e60c (diff)
parentb343ba90604de524b5fa7d87a6daf76fcc118adb (diff)
downloadtor-382beb93cb4110b2bcc82ab69c8e72c274a51ca2.tar.gz
tor-382beb93cb4110b2bcc82ab69c8e72c274a51ca2.zip
Merge branch 'maint-0.3.3'
Diffstat (limited to 'src')
-rw-r--r--src/or/hs_descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_descriptor.c b/src/or/hs_descriptor.c
index eb48cb0601..096122392d 100644
--- a/src/or/hs_descriptor.c
+++ b/src/or/hs_descriptor.c
@@ -1897,7 +1897,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) {