diff options
Diffstat (limited to 'ssl/quic/quic_channel.c')
-rw-r--r-- | ssl/quic/quic_channel.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ssl/quic/quic_channel.c b/ssl/quic/quic_channel.c index 2daf112f08..3fa7a8c8f4 100644 --- a/ssl/quic/quic_channel.c +++ b/ssl/quic/quic_channel.c @@ -1800,7 +1800,6 @@ static int ch_generate_transport_params(QUIC_CHANNEL *ch) ch->local_transport_params = (unsigned char *)buf_mem->data; buf_mem->data = NULL; - if (!ossl_quic_tls_set_transport_params(ch->qtls, ch->local_transport_params, buf_len)) goto err; @@ -1870,6 +1869,10 @@ void ossl_quic_channel_subtick(QUIC_CHANNEL *ch, QUIC_TICK_RESULT *res, * - determine the time at which we should next be ticked. */ + /* Nothing to do yet if connection has not been started. */ + if (ch->state == QUIC_CHANNEL_STATE_IDLE) + return; + /* If we are in the TERMINATED state, there is nothing to do. */ if (ossl_quic_channel_is_terminated(ch)) { res->net_read_desired = 0; |