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