mirror of https://github.com/openssl/openssl.git
ssl/quic/quic_channel.c: Fix endianness of supported versions from received version negotiation packets
Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/28169)
This commit is contained in:
parent
2b24455a9f
commit
95efe41d2e
|
@ -2423,7 +2423,6 @@ static void ch_rx_handle_packet(QUIC_CHANNEL *ch, int channel_only)
|
||||||
if (!PACKET_get_net_4(&vpkt, &supported_ver))
|
if (!PACKET_get_net_4(&vpkt, &supported_ver))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
supported_ver = ntohl(supported_ver);
|
|
||||||
if (supported_ver == QUIC_VERSION_1) {
|
if (supported_ver == QUIC_VERSION_1) {
|
||||||
/*
|
/*
|
||||||
* If the server supports version 1, set it as
|
* If the server supports version 1, set it as
|
||||||
|
|
Loading…
Reference in New Issue