From c87f79e1018919c42dc644665874a8c040006dd2 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Wed, 12 Jul 2017 16:57:36 -0400 Subject: [PATCH] Make debug levels in parse_tls_serverhello() consistent --- testssl.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testssl.sh b/testssl.sh index 9e5d2fc..2887e0d 100755 --- a/testssl.sh +++ b/testssl.sh @@ -7662,7 +7662,7 @@ parse_tls_serverhello() { # byte 3+4: fragment length # bytes 5...: message fragment tls_hello_ascii_len=${#tls_hello_ascii} - if [[ $DEBUG -ge 2 ]] && [[ $tls_hello_ascii_len -gt 0 ]]; then + if [[ $DEBUG -ge 3 ]] && [[ $tls_hello_ascii_len -gt 0 ]]; then echo "TLS message fragments:" fi for (( i=0; i> $TMPFILE echo "===============================================================================" >> $TMPFILE - if [[ $DEBUG -ge 2 ]]; then + if [[ $DEBUG -ge 3 ]]; then tmln_out " ($tls_alert_descrip)" tm_out " tls_err_level: ${tls_err_level}" case $tls_err_level in