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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user