diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-18 23:45:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-07 10:05:55 -0500 |
commit | 7984fc153112baa5c370215f2205025a7648d7b4 (patch) | |
tree | 75aefda08013f19fb2345d27d4f65890afb4299c /src/or/routerparse.h | |
parent | 9b11dc36179e48bd39e57a9f3e0e26a25f50adfa (diff) | |
download | tor-7984fc153112baa5c370215f2205025a7648d7b4.tar.gz tor-7984fc153112baa5c370215f2205025a7648d7b4.zip |
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.
Diffstat (limited to 'src/or/routerparse.h')
-rw-r--r-- | src/or/routerparse.h | 3 |
1 files changed, 2 insertions, 1 deletions
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, |