From 5df5c8602994eb774b90fceee68e3800a653540e Mon Sep 17 00:00:00 2001 From: henri Date: Fri, 13 Jul 2012 23:07:06 +0000 Subject: [PATCH] Fixed inconsistent indentation, replaced spaces by tabs. --- scripts/ssl-known-key.nse | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ssl-known-key.nse b/scripts/ssl-known-key.nse index bc5fd5864..c05a83d5b 100644 --- a/scripts/ssl-known-key.nse +++ b/scripts/ssl-known-key.nse @@ -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