From d2678003fede3d4295182fff9ce80fb9cab1b5c5 Mon Sep 17 00:00:00 2001 From: Dirk Date: Thu, 29 Sep 2016 23:14:29 +0200 Subject: [PATCH] adressing #480 --- testssl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testssl.sh b/testssl.sh index 878e67f..4179bfc 100755 --- a/testssl.sh +++ b/testssl.sh @@ -296,7 +296,7 @@ pr_brownln() { pr_brown "$1"; outln; } # color=1 functions -pr_off() { [[ "$COLOR" -ne 0 ]] && out "\033[m\c"; } +pr_off() { [[ "$COLOR" -ne 0 ]] && out "\033[m"; } pr_bold() { [[ "$COLOR" -ne 0 ]] && out "\033[1m$1" || out "$1"; pr_off; } pr_boldln() { pr_bold "$1" ; outln; } pr_underline() { [[ "$COLOR" -ne 0 ]] && out "\033[4m$1" || out "$1"; pr_off; } @@ -2912,7 +2912,7 @@ tls_sockets() { # mainly adapted from https://gist.github.com/takeshixx/10107280 run_heartbleed(){ [ $VULN_COUNT -le $VULN_THRESHLD ] && outln && pr_blue "--> Testing for heartbleed vulnerability" && outln "\n" - pr_bold " Heartbleed\c"; out " (CVE-2014-0160) " + pr_bold " Heartbleed"; out " (CVE-2014-0160) " #if [[ -n "$STARTTLS" ]] && [[ $EXPERIMENTAL != "yes" ]]; then # outln "(not yet implemented for STARTTLS)" @@ -5051,4 +5051,4 @@ fi exit $? -# $Id: testssl.sh,v 1.396 2015/09/30 21:36:09 dirkw Exp $ +# $Id: testssl.sh,v 1.396a 2016/09/29 23:12:09 dirkw Exp $