1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 22:49:01 +00:00

nselib stdnse.print_debug -> stdnse.debug

Manual fixes.
This commit is contained in:
batrick
2014-08-03 01:17:09 +00:00
parent ee6622aea4
commit 4b9f1c6766
11 changed files with 49 additions and 52 deletions

View File

@@ -138,8 +138,7 @@ StartTLS = {
if status then
status,err = s:reconnect_ssl()
if not status then
stdnse.print_debug(
1, "Could not establish SSL session after STARTTLS command.")
stdnse.debug1("Could not establish SSL session after STARTTLS command.")
s:close()
return false, "Failed to connect to IMAP server"
else
@@ -217,8 +216,7 @@ StartTLS = {
if status then
status,err = s:reconnect_ssl()
if not status then
stdnse.print_debug(
1,"Could not establish SSL session after STARTTLS command.")
stdnse.debug1("Could not establish SSL session after STARTTLS command.")
s:close()
return false, "Failed to connect to LDAP server"
else
@@ -268,8 +266,7 @@ StartTLS = {
if status then
status,err = s:reconnect_ssl()
if not status then
stdnse.print_debug(
1, "Could not establish SSL session after STARTTLS command.")
stdnse.debug1("Could not establish SSL session after STARTTLS command.")
s:close()
return false, "Failed to connect to POP3 server"
else