diff options
author | David Goulet <dgoulet@torproject.org> | 2021-02-05 10:39:55 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-02-19 13:19:08 -0500 |
commit | 2444629c86e3368ebd6c9ee1b54aa5a5959fa398 (patch) | |
tree | bc28430214d97fcfe12c98534c3d653686b30478 /src/feature/hs/hs_circuit.c | |
parent | 67938e019844d8143d683321faf45d7623a3a9ae (diff) | |
download | tor-2444629c86e3368ebd6c9ee1b54aa5a5959fa398.tar.gz tor-2444629c86e3368ebd6c9ee1b54aa5a5959fa398.zip |
hs-v2: Remove client support
Related to #40266
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/hs/hs_circuit.c')
-rw-r--r-- | src/feature/hs/hs_circuit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/feature/hs/hs_circuit.c b/src/feature/hs/hs_circuit.c index f0059a1a7c..b246ab423c 100644 --- a/src/feature/hs/hs_circuit.c +++ b/src/feature/hs/hs_circuit.c @@ -29,7 +29,6 @@ #include "feature/nodelist/describe.h" #include "feature/nodelist/nodelist.h" #include "feature/rend/rendservice.h" -#include "feature/rend/rendclient.h" #include "feature/stats/rephist.h" #include "lib/crypt_ops/crypto_dh.h" #include "lib/crypt_ops/crypto_rand.h" @@ -647,9 +646,7 @@ cleanup_on_free_client_circ(circuit_t *circ) { tor_assert(circ); - if (circuit_is_hs_v2(circ)) { - rend_client_circuit_cleanup_on_free(circ); - } else if (circuit_is_hs_v3(circ)) { + if (circuit_is_hs_v3(circ)) { hs_client_circuit_cleanup_on_free(circ); } /* It is possible the circuit has an HS purpose but no identifier (rend_data |