mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 11:55:27 +00:00
Merge a1337a4572 into 80b687140c
This commit is contained in:
commit
17051b73a8
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue