summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-02-15 09:14:41 +0000
committerHugo Landau <hlandau@openssl.org>2024-03-07 23:48:49 +0000
commit5f02bbd5a6e7157faefb944ac5f11e0f6b024740 (patch)
tree9913be5cf876c899f27332056bd08388848fc8f9 /ssl
parentc38558357de693ac9807d42c5f700ee59de7f20d (diff)
QUIC: Define error code for stateless reset
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23598)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/quic/quic_channel.c2
1 files changed, 1 insertions, 1 deletions
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);