1
0
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:
dmiller
2016-08-31 02:32:26 +00:00
parent 1bbd6c8e90
commit dbc995b883
2 changed files with 4 additions and 4 deletions

View File

@@ -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