mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
m) do not try to delete stk from shi_ctx (#295)
stk never be inserted to shi_ctx, so we don't need try to delete it. Co-authored-by: wangfuyu <ivanfywang@gmail.com>
This commit is contained in:
parent
47440e4eaf
commit
ed94ac1253
1 changed files with 0 additions and 6 deletions
|
@ -3340,12 +3340,6 @@ lsquic_enc_session_handle_chlo(enc_session_t *enc_session_p,
|
|||
determine_keys(enc_session);
|
||||
enc_session->have_key = 1;
|
||||
|
||||
if (lsquic_str_len(&enc_session->hs_ctx.stk) > 0)
|
||||
{
|
||||
shi->shi_delete(shi_ctx, lsquic_str_cstr(&enc_session->hs_ctx.stk),
|
||||
lsquic_str_len(&enc_session->hs_ctx.stk));
|
||||
}
|
||||
|
||||
LSQ_DEBUG("lsquic_enc_session_handle_chlo call gen_shlo_data");
|
||||
len = gen_shlo_data(out, *out_len, enc_session, version, peer,
|
||||
t, nonce);
|
||||
|
|
Loading…
Reference in a new issue