From 48da01b70d1b31a2d9a2201b356dec5ecc2c03dc Mon Sep 17 00:00:00 2001 From: Nick Banks Date: Thu, 14 Sep 2023 10:00:49 -0400 Subject: [PATCH] Fix Attack Tool (#3851) --- src/tools/attack/packet_writer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/attack/packet_writer.cpp b/src/tools/attack/packet_writer.cpp index 13022e5eed..56c6e6a95a 100644 --- a/src/tools/attack/packet_writer.cpp +++ b/src/tools/attack/packet_writer.cpp @@ -76,6 +76,7 @@ struct TlsContext Config.HkdfLabels = &HkdfLabels; Config.AlpnBuffer = AlpnListBuffer; Config.AlpnBufferLength = AlpnListBuffer[0] + 1; + Config.TPType = TLS_EXTENSION_TYPE_QUIC_TRANSPORT_PARAMETERS; Config.LocalTPBuffer = QuicCryptoTlsEncodeTransportParameters(&Connection, FALSE, &TP, NULL, &Config.LocalTPLength); if (!Config.LocalTPBuffer) {