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