Declare missing variable, style.

This commit is contained in:
enxio 2022-03-14 15:27:55 +01:00 committed by Dirk
parent bcacee1e4c
commit c0fb2d1f70

View File

@ -11160,7 +11160,7 @@ starttls_mysql_dialog() {
} }
starttls_telnet_dialog() { starttls_telnet_dialog() {
debugme echo "=== starting telnet STARTTLS dialog ===" local debugpad=" > "
local tnres="" local tnres=""
local -i ret=0 local -i ret=0
local msg1=" local msg1="
@ -11169,6 +11169,7 @@ starttls_telnet_dialog() {
, xff, xfa, x2e, x01, xff, xf0 , xff, xfa, x2e, x01, xff, xf0
" "
debugme echo "=== starting telnet STARTTLS dialog ==="
socksend "${msg1}" 0 && debugme echo "${debugpad}initiated STARTTLS" && socksend "${msg1}" 0 && debugme echo "${debugpad}initiated STARTTLS" &&
socksend "${msg2}" 1 && socksend "${msg2}" 1 &&
tnres=$(sockread_fast 20) && debugme echo "read succeeded" tnres=$(sockread_fast 20) && debugme echo "read succeeded"