mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Consolidate error reporting
This commit is contained in:
@@ -689,7 +689,7 @@ local function find_ciphers_group(host, port, protocol, group, scores)
|
||||
-- TODO: certificate validation (date, self-signed, etc)
|
||||
local c, err
|
||||
if certs == nil then
|
||||
stdnse.debug1("Failed to retrieve certificate")
|
||||
err = "no certificate message"
|
||||
else
|
||||
c, err = sslcert.parse_ssl_certificate(certs.certificates[1])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user