1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Fix a bug: forgot to pass in the protocol version

This commit is contained in:
dmiller
2016-08-31 02:32:25 +00:00
parent 3997b3c196
commit 1bbd6c8e90
3 changed files with 9 additions and 5 deletions

View File

@@ -725,7 +725,7 @@ local function find_ciphers_group(host, port, protocol, group, scores)
end
local ske = get_body(handshake, "type", "server_key_exchange")
if kex.server_key_exchange and ske then
local kex_info = kex.server_key_exchange(ske.data)
local kex_info = kex.server_key_exchange(ske.data, protocol)
if kex_info.strength then
local rsa_bits = tls.rsa_equiv(kex.type, kex_info.strength)
local low_strength_warning = false