aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-10 09:22:14 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-10 09:22:14 -0400
commit2d61a83513d4537735843f50c1766c224dd86183 (patch)
tree4d9b7722c8a1ab0e9f0cb26fe8306085c2b773a2 /src
parentba70439210c57b0e0e60b07f116f101725085d85 (diff)
parent6e99286d45be482effe47feb057948b98495a49f (diff)
downloadtor-2d61a83513d4537735843f50c1766c224dd86183.tar.gz
tor-2d61a83513d4537735843f50c1766c224dd86183.zip
Merge remote-tracking branch 'dgoulet/bug26069_031_01' into maint-0.3.1
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 fae527b2db..3ec02618bf 100644
--- a/src/or/hs_descriptor.c
+++ b/src/or/hs_descriptor.c
@@ -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) {