mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Fix a bug in ssl-enum-ciphers
If the last chunk of ciphers was rejected, then all results were discarded.
This commit is contained in:
parent
ead3649ac5
commit
cdd61aa874
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ local function find_ciphers(host, port, protocol)
|
|||
table.insert(results, name)
|
||||
end
|
||||
end
|
||||
if not protocol_worked then return nil end
|
||||
if not next(results) then return nil end
|
||||
|
||||
return results
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue