This commit is contained in:
Clément Notin 2026-11-25 04:09:24 +00:00 • committed by GitHub
commit 02495d36ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1565,6 +1565,14 @@ handshake_parse = {
return b, j
end,
-- The contents depend on the selected key exchange algorithm. Keep the
-- message available without attempting to interpret an algorithm-specific
-- structure.
server_key_exchange = function (buffer, j, msg_end)
local b = {}
b.data, j = unpack("c" .. msg_end - j, buffer, j)
return b, j
end,
NewSessionTicket = function (buffer, j, msg_end, protocol)
-- Need 4 bytes for parsing.
local have = #buffer - j + 1