mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Revert r33755 (broken fix)
This commit is contained in:
parent
553e827110
commit
9cb2800c97
1 changed files with 0 additions and 6 deletions
|
|
@ -418,9 +418,6 @@ local SPECIALIZED_PREPARE_TLS_WITHOUT_RECONNECT = {
|
|||
-- @param port A port table with 'number' and 'service' keys
|
||||
-- @return A STARTTLS function or nil
|
||||
function getPrepareTLSWithoutReconnect(port)
|
||||
if port.service_tunnel == "ssl" then
|
||||
return nil
|
||||
end
|
||||
return (SPECIALIZED_PREPARE_TLS_WITHOUT_RECONNECT[port.number] or
|
||||
SPECIALIZED_PREPARE_TLS_WITHOUT_RECONNECT[port.service])
|
||||
end
|
||||
|
|
@ -432,9 +429,6 @@ end
|
|||
-- @param port A port table with 'number' and 'service' keys
|
||||
-- @return A STARTTLS function or nil
|
||||
function isPortSupported(port)
|
||||
if port.service_tunnel == "ssl" then
|
||||
return nil
|
||||
end
|
||||
return (SPECIALIZED_PREPARE_TLS[port.number] or
|
||||
SPECIALIZED_PREPARE_TLS[port.service])
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue