aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2022-02-23 00:23:23 +0000
committerMike Perry <mikeperry-git@torproject.org>2022-02-23 00:23:23 +0000
commit77bf932c83a1a8b1cf627a66656f40dea715d75e (patch)
tree1b9b72e71c5e1b3e03c7b51d91dfcd316b345287 /src
parent01bda6c23f58947ad1e20ea6367a5c260f53dfab (diff)
downloadtor-77bf932c83a1a8b1cf627a66656f40dea715d75e.tar.gz
tor-77bf932c83a1a8b1cf627a66656f40dea715d75e.zip
Properly initialize the cc_enabled field in hs intro data.
Diffstat (limited to 'src')
-rw-r--r--src/feature/hs/hs_circuit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/hs/hs_circuit.c b/src/feature/hs/hs_circuit.c
index 271bf652e7..f8a0e06d90 100644
--- a/src/feature/hs/hs_circuit.c
+++ b/src/feature/hs/hs_circuit.c
@@ -996,6 +996,7 @@ hs_circ_handle_introduce2(const hs_service_t *service,
data.payload_len = payload_len;
data.link_specifiers = smartlist_new();
data.replay_cache = ip->replay_cache;
+ data.cc_enabled = 0;
if (get_subcredential_for_handling_intro2_cell(service,
&data, subcredential)) {