1
0
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:
dmiller
2014-10-15 21:52:36 +00:00
parent ead3649ac5
commit cdd61aa874

View File

@@ -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