aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_circuit.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-08-01 13:30:04 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit708789025da9369f45ff18a6bcf743f005d9abff (patch)
tree5bf30732974d9b827d7821a9aec2d1af04c606ba /src/or/hs_circuit.c
parentec0da9a6f150c3e96a5aa777dea38105350a2b53 (diff)
downloadtor-708789025da9369f45ff18a6bcf743f005d9abff.tar.gz
tor-708789025da9369f45ff18a6bcf743f005d9abff.zip
prop224: Remove INTRODUCE2 legacy handling
Turns out that introduction points don't care about the INTRODUCE2 cell format as long as the top field is LEGACY_KEY_ID as expected. So let's use a single INTRODUCE format regardless of the introduction point being legacy or not. This also removes the polymorphic void* situation. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_circuit.c')
-rw-r--r--src/or/hs_circuit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/hs_circuit.c b/src/or/hs_circuit.c
index adca189ad8..c78ac6057f 100644
--- a/src/or/hs_circuit.c
+++ b/src/or/hs_circuit.c
@@ -945,7 +945,6 @@ hs_circ_handle_introduce2(const hs_service_t *service,
data.payload = payload;
data.payload_len = payload_len;
data.link_specifiers = smartlist_new();
- data.is_legacy = ip->base.is_only_legacy;
data.replay_cache = ip->replay_cache;
if (hs_cell_parse_introduce2(&data, circ, service) < 0) {