From 91c379fa92dbf27b71315fcfb2966d243791f5e4 Mon Sep 17 00:00:00 2001 From: dmiller Date: Sat, 25 Jun 2016 19:43:31 +0000 Subject: [PATCH] Avoid an error in imap-ntlm-info when starttls fails --- scripts/imap-ntlm-info.nse | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/imap-ntlm-info.nse b/scripts/imap-ntlm-info.nse index 264da0048..460bdecaf 100644 --- a/scripts/imap-ntlm-info.nse +++ b/scripts/imap-ntlm-info.nse @@ -75,6 +75,7 @@ action = function(host, port) if not status then -- could be socket problems, but more likely STARTTLS not supported. stdnse.debug1("starttls error: %s", socket) + socket = nil end end if not socket then