From 991521957da08bac47776a36e3d48ac12a821269 Mon Sep 17 00:00:00 2001 From: Dirk Date: Wed, 28 Mar 2018 11:46:53 +0200 Subject: [PATCH] housekeeping and FIX #406 --- testssl.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/testssl.sh b/testssl.sh index c04c356..7f4a23d 100755 --- a/testssl.sh +++ b/testssl.sh @@ -4885,7 +4885,7 @@ run_protocols() { detected_version_string="TLSv1.$((0x$DETECTED_TLS_VERSION-0x0301))" fi if [[ "$DETECTED_TLS_VERSION" == "$latest_supported" ]]; then - [[ $DEBUG -eq 1 ]] && out " -- downgraded" + [[ $DEBUG -ge 1 ]] && tm_out " -- downgraded" outln fileout "$jsonID" "INFO" "not offered and downgraded to a weaker protocol" elif [[ "$DETECTED_TLS_VERSION" == 03* ]] && [[ 0x$DETECTED_TLS_VERSION -lt 0x$latest_supported ]]; then @@ -12575,7 +12575,7 @@ run_crime() { # fi # fi # fi -# [[ $DEBUG -eq 2 ]] tmln_out "$STR" +# [[ $DEBUG -ge 2 ]] tmln_out "$STR" tmpfile_handle $FUNCNAME.txt return $ret } @@ -12694,7 +12694,7 @@ run_sweet32() { $OPENSSL s_client $(s_client_options "$STARTTLS $BUGS $proto -cipher $sweet32_ciphers -connect $NODEIP:$PORT $PROXY $SNI") >$TMPFILE 2>$ERRFILE