mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Missed a call to server_key_exchange that also needed protocol
This commit is contained in:
parent
1bbd6c8e90
commit
dbc995b883
2 changed files with 4 additions and 4 deletions
|
|
@ -672,7 +672,7 @@ local function get_dhe_params(host, port, protocol, ciphers)
|
|||
-- Only try next chunk if current chunk was rejected
|
||||
if cipher and packed then
|
||||
local info = tls.cipher_info(cipher)
|
||||
local data = tls.KEX_ALGORITHMS[info.kex].server_key_exchange(packed)
|
||||
local data = tls.KEX_ALGORITHMS[info.kex].server_key_exchange(packed, protocol)
|
||||
return cipher, data.dhparams
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue