mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 21:59:02 +00:00
Revert r33755 (broken fix)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user