mirror of
https://github.com/nmap/nmap.git
synced 2026-06-09 17:22:26 +00:00
Avoid output when ssl-date fails (e.g. non-STARTTLS SMTP)
This commit is contained in:
parent
fb6d2a5567
commit
2b77e83abb
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ action = function(host, port)
|
|||
status, tm = test_time_sample(host, port, reftm)
|
||||
end
|
||||
if not status then
|
||||
return stdnse.format_output(false, "Unable to obtain data from the target")
|
||||
return nil
|
||||
end
|
||||
if status ~= result.ACCEPTED then
|
||||
return {}, "TLS randomness does not represent time"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue