diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-11-03 14:02:47 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-11-04 00:24:15 -0500 |
commit | b10e5ac7b86c459a62cfc316c8be87143d2a87e4 (patch) | |
tree | 871d286e6bf3dcc2198454ddf90ecfd308bd6d2d /src/or/rendcommon.h | |
parent | 9e2608b0d35e7e890e53f83e40675851caff4a14 (diff) | |
download | tor-b10e5ac7b86c459a62cfc316c8be87143d2a87e4.tar.gz tor-b10e5ac7b86c459a62cfc316c8be87143d2a87e4.zip |
Check descriptor ID in addition to HS ID when saving a v2 hs descriptor
Fixes bug 13214; reported by 'special'.
Diffstat (limited to 'src/or/rendcommon.h')
-rw-r--r-- | src/or/rendcommon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rendcommon.h b/src/or/rendcommon.h index 07a47accfe..42a089a2fb 100644 --- a/src/or/rendcommon.h +++ b/src/or/rendcommon.h @@ -49,6 +49,7 @@ typedef enum { rend_cache_store_status_t rend_cache_store_v2_desc_as_dir(const char *desc); rend_cache_store_status_t rend_cache_store_v2_desc_as_client(const char *desc, + const char *desc_id_base32, const rend_data_t *rend_query); int rend_encode_v2_descriptors(smartlist_t *descs_out, |