mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
QUIC CHANNEL: Make a QUIC_PORT mandatory
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22674)
This commit is contained in:
parent
167e5f34c8
commit
496f0beb99
@ -274,6 +274,9 @@ static int ch_init(QUIC_CHANNEL *ch)
|
||||
uint32_t pn_space;
|
||||
size_t rx_short_cid_len = ch->is_server ? INIT_DCID_LEN : 0;
|
||||
|
||||
if (ch->port == NULL)
|
||||
goto err;
|
||||
|
||||
ossl_list_stateless_reset_tokens_init(&ch->srt_list_seq);
|
||||
ch->srt_hash_tok = lh_QUIC_SRT_ELEM_new(&chan_reset_token_hash,
|
||||
&chan_reset_token_cmp);
|
||||
|
Loading…
Reference in New Issue
Block a user