mirror of
https://github.com/nmap/nmap.git
synced 2026-01-27 00:29:03 +00:00
Missed a call to server_key_exchange that also needed protocol
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user