]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Properly initialize the cc_enabled field in hs intro data.
authorMike Perry <mikeperry-git@torproject.org>
Wed, 23 Feb 2022 00:23:23 +0000 (00:23 +0000)
committerMike Perry <mikeperry-git@torproject.org>
Wed, 23 Feb 2022 00:23:23 +0000 (00:23 +0000)
src/feature/hs/hs_circuit.c

index 271bf652e7e8aeb068fe07efbea31d6829d64aa0..f8a0e06d90b26807626dddc9c8024967ef857bd6 100644 (file)
@@ -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)) {