aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuituse.c
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2019-08-23 14:04:05 -0400
committerNeel Chauhan <neel@neelc.org>2019-08-23 14:04:05 -0400
commit14654d5c97663d5f2552b9f27620c8d829dd8d52 (patch)
treefcabd6d7af7d4da6097ec09aa43fc20d3acd17f4 /src/core/or/circuituse.c
parentd475d7c2fb3c0ed5120c50011b187f6957a4f52c (diff)
downloadtor-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/core/or/circuituse.c')
-rw-r--r--src/core/or/circuituse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/or/circuituse.c b/src/core/or/circuituse.c
index 18b419e99d..606c5e2dd2 100644
--- a/src/core/or/circuituse.c
+++ b/src/core/or/circuituse.c
@@ -2533,8 +2533,7 @@ circuit_get_open_circ_or_launch(entry_connection_t *conn,
circ->rend_data = rend_data_dup(edge_conn->rend_data);
} else if (edge_conn->hs_ident) {
circ->hs_ident =
- hs_ident_circuit_new(&edge_conn->hs_ident->identity_pk,
- HS_IDENT_CIRCUIT_INTRO);
+ hs_ident_circuit_new(&edge_conn->hs_ident->identity_pk);
}
if (circ->base_.purpose == CIRCUIT_PURPOSE_C_ESTABLISH_REND &&
circ->base_.state == CIRCUIT_STATE_OPEN)