From 48ed6d483fc685b0384240ff24e343e012e60fa1 Mon Sep 17 00:00:00 2001 From: enxio Date: Mon, 14 Mar 2022 15:24:55 +0100 Subject: [PATCH] Conform to style with local variables: declare "ret" properly. --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 523273d..5f3673f 100755 --- a/testssl.sh +++ b/testssl.sh @@ -11161,13 +11161,13 @@ starttls_mysql_dialog() { starttls_telnet_dialog() { debugme echo "=== starting telnet STARTTLS dialog ===" + local tnres="" + local -i ret=0 local msg1=" , xff, xfb, x2e" local msg2=" , xff, xfa, x2e, x01, xff, xf0 " - local tnres="" - local ret="" socksend "${msg1}" 0 && debugme echo "${debugpad}initiated STARTTLS" && socksend "${msg2}" 1 &&