mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Consolidate error reporting
This commit is contained in:
parent
32d85005d9
commit
a7c8d25c56
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue