Fix a bug (false-negative) in ssl-poodle

This commit is contained in:
dmiller 2014-10-22 17:01:17 +00:00
parent 814bf97a8f
commit db098b4e8d

View file

@ -294,7 +294,7 @@ local function find_ciphers(host, port, protocol)
table.insert(results, name)
end
-- Another POODLE shortcut
if protocol_worked then return results end
if protocol_worked and next(results) then return results end
end
return results
end