diff options
author | Neel Chauhan <neel@neelc.org> | 2019-08-23 14:04:05 -0400 |
---|---|---|
committer | Neel Chauhan <neel@neelc.org> | 2019-08-23 14:04:05 -0400 |
commit | 14654d5c97663d5f2552b9f27620c8d829dd8d52 (patch) | |
tree | fcabd6d7af7d4da6097ec09aa43fc20d3acd17f4 /src/feature/hs/hs_ident.h | |
parent | d475d7c2fb3c0ed5120c50011b187f6957a4f52c (diff) | |
download | tor-14654d5c97663d5f2552b9f27620c8d829dd8d52.tar.gz tor-14654d5c97663d5f2552b9f27620c8d829dd8d52.zip |
Remove the unused circuit_type field from hs_ident_circuit_t and hs_ident_circuit_new()
Diffstat (limited to 'src/feature/hs/hs_ident.h')
-rw-r--r-- | src/feature/hs/hs_ident.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/feature/hs/hs_ident.h b/src/feature/hs/hs_ident.h index 8c46936a1e..82ca50f6b5 100644 --- a/src/feature/hs/hs_ident.h +++ b/src/feature/hs/hs_ident.h @@ -44,13 +44,6 @@ typedef struct hs_ident_circuit_t { * the one found in the onion address. */ ed25519_public_key_t identity_pk; - /* (All circuit) The type of circuit this identifier is attached to. - * Accessors of the fields in this object assert non fatal on this circuit - * type. In other words, if a rendezvous field is being accessed, the - * circuit type MUST BE of type HS_IDENT_CIRCUIT_RENDEZVOUS. This value is - * set when an object is initialized in its constructor. */ - hs_ident_circuit_type_t circuit_type; - /* (All circuit) Introduction point authentication key. It's also needed on * the rendezvous circuit for the ntor handshake. It's used as the unique key * of the introduction point so it should not be shared between multiple @@ -120,8 +113,7 @@ typedef struct hs_ident_edge_conn_t { /* Circuit identifier API. */ hs_ident_circuit_t *hs_ident_circuit_new( - const ed25519_public_key_t *identity_pk, - hs_ident_circuit_type_t circuit_type); + const ed25519_public_key_t *identity_pk); void hs_ident_circuit_free_(hs_ident_circuit_t *ident); #define hs_ident_circuit_free(id) \ FREE_AND_NULL(hs_ident_circuit_t, hs_ident_circuit_free_, (id)) |