diff options
author | David Goulet <dgoulet@torproject.org> | 2017-05-10 09:40:26 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-06-27 10:19:57 -0400 |
commit | 82dee76740062c00e98a7005f773672065abcf96 (patch) | |
tree | fcc0b7730a191801fa77a17514c35635b17c9f32 /src/or/hs_descriptor.h | |
parent | f6df433b9123c50b8eda6d8784d4f96be6d02f51 (diff) | |
download | tor-82dee76740062c00e98a7005f773672065abcf96.tar.gz tor-82dee76740062c00e98a7005f773672065abcf96.zip |
hs: Ignore unparseable v3 introduction point
It is possible that at some point in time a client will encounter unknown or
new fields for an introduction point in a descriptor so let them ignore it for
forward compatibility.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_descriptor.h')
-rw-r--r-- | src/or/hs_descriptor.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/hs_descriptor.h b/src/or/hs_descriptor.h index b8b94792de..58c4089795 100644 --- a/src/or/hs_descriptor.h +++ b/src/or/hs_descriptor.h @@ -223,9 +223,6 @@ STATIC smartlist_t *decode_link_specifiers(const char *encoded); STATIC hs_desc_intro_point_t *decode_introduction_point( const hs_descriptor_t *desc, const char *text); -STATIC int decode_intro_points(const hs_descriptor_t *desc, - hs_desc_encrypted_data_t *desc_enc, - const char *data); STATIC int encrypted_data_length_is_valid(size_t len); STATIC int cert_is_valid(tor_cert_t *cert, uint8_t type, const char *log_obj_type); |