Avoid an error in imap-ntlm-info when starttls fails

This commit is contained in:
dmiller 2016-06-25 19:43:31 +00:00
parent 1c16a55227
commit 91c379fa92

View file

@ -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