mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Fix early data: call new BoringSSL function to set context
Need to call SSL_set_quic_early_data_context() to enable early data in session tickets issued to the client. This change was introduced in when we switched to newer BoringSSL.
This commit is contained in:
parent
649eb4521c
commit
9dd862ff6c
1 changed files with 7 additions and 0 deletions
|
@ -1149,6 +1149,13 @@ iquic_esfi_init_server (enc_session_t *enc_session_p)
|
|||
LSQ_INFO("could not set stream method");
|
||||
return -1;
|
||||
}
|
||||
/* TODO: set to transport parameter string instead of the constant string */
|
||||
if (!SSL_set_quic_early_data_context(enc_sess->esi_ssl,
|
||||
(unsigned char *) "lsquic", 6))
|
||||
{
|
||||
LSQ_INFO("could not set early data context");
|
||||
return -1;
|
||||
}
|
||||
maybe_setup_key_logging(enc_sess);
|
||||
|
||||
transpa_len = gen_trans_params(enc_sess, u.trans_params,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue