diff options
author | David Goulet <dgoulet@torproject.org> | 2017-08-01 13:30:04 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:34 -0400 |
commit | 708789025da9369f45ff18a6bcf743f005d9abff (patch) | |
tree | 5bf30732974d9b827d7821a9aec2d1af04c606ba /src/or/hs_cell.h | |
parent | ec0da9a6f150c3e96a5aa777dea38105350a2b53 (diff) | |
download | tor-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_cell.h')
-rw-r--r-- | src/or/hs_cell.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/hs_cell.h b/src/or/hs_cell.h index 1336a399a7..b7c3d11275 100644 --- a/src/or/hs_cell.h +++ b/src/or/hs_cell.h @@ -34,8 +34,6 @@ typedef struct hs_cell_introduce2_data_t { const uint8_t *payload; /* Size of the payload of the received encoded cell. */ size_t payload_len; - /* Is this a legacy introduction point? */ - unsigned int is_legacy : 1; /*** Muttable Section. ***/ |