mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Conform to style with local variables: declare "ret" properly.
This commit is contained in:
parent
88cf7e657b
commit
48ed6d483f
@ -11161,13 +11161,13 @@ starttls_mysql_dialog() {
|
|||||||
|
|
||||||
starttls_telnet_dialog() {
|
starttls_telnet_dialog() {
|
||||||
debugme echo "=== starting telnet STARTTLS dialog ==="
|
debugme echo "=== starting telnet STARTTLS dialog ==="
|
||||||
|
local tnres=""
|
||||||
|
local -i ret=0
|
||||||
local msg1="
|
local msg1="
|
||||||
, xff, xfb, x2e"
|
, xff, xfb, x2e"
|
||||||
local msg2="
|
local msg2="
|
||||||
, xff, xfa, x2e, x01, xff, xf0
|
, xff, xfa, x2e, x01, xff, xf0
|
||||||
"
|
"
|
||||||
local tnres=""
|
|
||||||
local ret=""
|
|
||||||
|
|
||||||
socksend "${msg1}" 0 && debugme echo "${debugpad}initiated STARTTLS" &&
|
socksend "${msg1}" 0 && debugme echo "${debugpad}initiated STARTTLS" &&
|
||||||
socksend "${msg2}" 1 &&
|
socksend "${msg2}" 1 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user