Properly initialize the cc_enabled field in hs intro data.

This commit is contained in:
Mike Perry 2022-02-23 00:23:23 +00:00
parent 01bda6c23f
commit 77bf932c83

View File

@ -996,6 +996,7 @@ hs_circ_handle_introduce2(const hs_service_t *service,
data.payload_len = payload_len; data.payload_len = payload_len;
data.link_specifiers = smartlist_new(); data.link_specifiers = smartlist_new();
data.replay_cache = ip->replay_cache; data.replay_cache = ip->replay_cache;
data.cc_enabled = 0;
if (get_subcredential_for_handling_intro2_cell(service, if (get_subcredential_for_handling_intro2_cell(service,
&data, subcredential)) { &data, subcredential)) {