From 5f02bbd5a6e7157faefb944ac5f11e0f6b024740 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Thu, 15 Feb 2024 09:14:41 +0000 Subject: QUIC: Define error code for stateless reset Reviewed-by: Matt Caswell Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/23598) --- ssl/quic/quic_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssl') diff --git a/ssl/quic/quic_channel.c b/ssl/quic/quic_channel.c index 9bab5d005b..5bc08fad91 100644 --- a/ssl/quic/quic_channel.c +++ b/ssl/quic/quic_channel.c @@ -3325,7 +3325,7 @@ static void ch_on_idle_timeout(QUIC_CHANNEL *ch) * TERMINATED anyway. */ ch->terminate_cause.app = 0; - ch->terminate_cause.error_code = UINT64_MAX; + ch->terminate_cause.error_code = OSSL_QUIC_LOCAL_ERR_IDLE_TIMEOUT; ch->terminate_cause.frame_type = 0; ch_record_state_transition(ch, QUIC_CHANNEL_STATE_TERMINATED); -- cgit v1.2.3