mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Revert to older logic allowing rejection of protocol if server chooses a different one
This commit is contained in:
parent
21553bebb9
commit
189e6ac201
1 changed files with 1 additions and 1 deletions
|
|
@ -630,7 +630,7 @@ local function find_ciphers_group(host, port, protocol, group, scores)
|
|||
end
|
||||
if server_hello.protocol ~= protocol then
|
||||
ctx_log(1, protocol, "Protocol rejected. cipher: %s", server_hello.cipher)
|
||||
protocol_worked = (protocol_worked == nil) and nil or false
|
||||
protocol_worked = protocol_worked or nil
|
||||
break
|
||||
else
|
||||
protocol_worked = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue