This commit is contained in:
Clément Notin 2026-08-23 20:16:02 +00:00 committed by GitHub
commit 17051b73a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1560,6 +1560,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