diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-07-25 11:32:24 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-08-08 14:33:42 +0100 |
commit | 3ad5711e484736c7383b43d03f83e5700e589dfa (patch) | |
tree | 10f7892ba360a8fde3b804417c75d78fce014cca /ssl | |
parent | c5cb85b6651256fcdd0cf15c14f4d082f73c1abb (diff) |
QUIC CHANNEL: Send correct alert code if no TPARAMs received
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21547)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/quic/quic_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/quic/quic_channel.c b/ssl/quic/quic_channel.c index 220523d587..4aba4a3b26 100644 --- a/ssl/quic/quic_channel.c +++ b/ssl/quic/quic_channel.c @@ -941,7 +941,7 @@ static int ch_on_handshake_complete(void *arg) * Was not a valid QUIC handshake if we did not get valid transport * params. */ - ossl_quic_channel_raise_protocol_error(ch, QUIC_ERR_PROTOCOL_VIOLATION, + ossl_quic_channel_raise_protocol_error(ch, QUIC_ERR_CRYPTO_MISSING_EXT, OSSL_QUIC_FRAME_TYPE_CRYPTO, "no transport parameters received"); return 0; |