mirror of
https://github.com/nmap/nmap.git
synced 2026-02-04 20:46:33 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user