mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 18:39:03 +00:00
Fixed inconsistent indentation, replaced spaces by tabs.
This commit is contained in:
@@ -115,9 +115,9 @@ action = function(host, port)
|
||||
|
||||
-- Get SSL certificate.
|
||||
local status, cert = sslcert.getCertificate(host, port)
|
||||
if not status then
|
||||
stdnse.print_debug(2, "sslcert.getCertificate error: %s", cert)
|
||||
end
|
||||
if not status then
|
||||
stdnse.print_debug(2, "sslcert.getCertificate error: %s", cert)
|
||||
end
|
||||
if not cert:digest("sha1") then
|
||||
stdnse.print_debug(2, "Certificate does not have a SHA-1 fingerprint.")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user