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_circuit.c | |
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_circuit.c')
-rw-r--r-- | src/feature/hs/hs_circuit.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/feature/hs/hs_circuit.c b/src/feature/hs/hs_circuit.c index a6e86c5ab3..259ffb1441 100644 --- a/src/feature/hs/hs_circuit.c +++ b/src/feature/hs/hs_circuit.c @@ -259,8 +259,7 @@ create_rp_circuit_identifier(const hs_service_t *service, tor_assert(server_pk); tor_assert(keys); - ident = hs_ident_circuit_new(&service->keys.identity_pk, - HS_IDENT_CIRCUIT_RENDEZVOUS); + ident = hs_ident_circuit_new(&service->keys.identity_pk); /* Copy the RENDEZVOUS_COOKIE which is the unique identifier. */ memcpy(ident->rendezvous_cookie, rendezvous_cookie, sizeof(ident->rendezvous_cookie)); @@ -294,8 +293,7 @@ create_intro_circuit_identifier(const hs_service_t *service, tor_assert(service); tor_assert(ip); - ident = hs_ident_circuit_new(&service->keys.identity_pk, - HS_IDENT_CIRCUIT_INTRO); + ident = hs_ident_circuit_new(&service->keys.identity_pk); ed25519_pubkey_copy(&ident->intro_auth_pk, &ip->auth_key_kp.pubkey); return ident; |