From 7984fc153112baa5c370215f2205025a7648d7b4 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 18 Jul 2013 23:45:40 -0400 Subject: Stop accepting milliseconds in various directory contexts Have clients and authorities both have new behavior, since the fix for bug 11243 has gone in. But make clients still accept accept old bogus HSDir descriptors, to avoid fingerprinting trickery. Fixes bug 9286. --- src/or/routerparse.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/routerparse.h') diff --git a/src/or/routerparse.h b/src/or/routerparse.h index e950548f8c..6629b6d4bc 100644 --- a/src/or/routerparse.h +++ b/src/or/routerparse.h @@ -73,7 +73,8 @@ int rend_parse_v2_service_descriptor(rend_service_descriptor_t **parsed_out, char **intro_points_encrypted_out, size_t *intro_points_encrypted_size_out, size_t *encoded_size_out, - const char **next_out, const char *desc); + const char **next_out, const char *desc, + int as_hsdir); int rend_decrypt_introduction_points(char **ipos_decrypted, size_t *ipos_decrypted_size, const char *descriptor_cookie, -- cgit v1.2.3-54-g00ecf