aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.c
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
commit7ee67c47fae2263e8c4f5599e0fbba6531738120 (patch)
treec064d947b364f7e5899c3c2d66755fe13203dbb3 /src/or/hs_descriptor.c
parent15b8c860d3c8eac8f560569a90e90ba517e1c6ae (diff)
parent2d61a83513d4537735843f50c1766c224dd86183 (diff)
downloadtor-7ee67c47fae2263e8c4f5599e0fbba6531738120.tar.gz
tor-7ee67c47fae2263e8c4f5599e0fbba6531738120.zip
Merge branch 'maint-0.3.1' into maint-0.3.2
Diffstat (limited to 'src/or/hs_descriptor.c')
-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 9683fca50f..fef0607c1d 100644
--- a/src/or/hs_descriptor.c
+++ b/src/or/hs_descriptor.c
@@ -1895,7 +1895,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) {