]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
ssl/quic/quic_channel.c: Fix endianness of supported versions from received version...
authorNikolas Gauder <nikolas.gauder@tum.de>
Mon, 4 Aug 2025 21:47:23 +0000 (23:47 +0200)
committerNeil Horman <nhorman@openssl.org>
Wed, 6 Aug 2025 12:19:48 +0000 (08:19 -0400)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28169)

ssl/quic/quic_channel.c

index f8e4252ba48f4307952b24590e3bdd578e7af836..83253910c4e63c5d2d9e2228eb8b52d82176e1f5 100644 (file)
@@ -2423,7 +2423,6 @@ static void ch_rx_handle_packet(QUIC_CHANNEL *ch, int channel_only)
             if (!PACKET_get_net_4(&vpkt, &supported_ver))
                 return;
 
-            supported_ver = ntohl(supported_ver);
             if (supported_ver == QUIC_VERSION_1) {
                 /*
                  * If the server supports version 1, set it as