From 5cb4b722b4ac0b1d31738c38023dae5c8fc35591 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 24 Jun 2016 19:01:00 +0200 Subject: [PATCH] in client simulation it should be TLSv1.0 instead of TLSv1.0 --- testssl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index d05af23..cb91233 100755 --- a/testssl.sh +++ b/testssl.sh @@ -2178,6 +2178,7 @@ run_client_simulation() { else #FIXME: awk proto=$(grep -aw "Protocol" $TMPFILE | sed -e 's/^.*Protocol.*://' -e 's/ //g') + [[ "$proto" == TLSv1 ]] && proto="TLSv1.0" if [[ "$proto" == TLSv1.2 ]]; then # OpenSSL reports TLS1.2 even if the connection is TLS1.1 or TLS1.0. Need to figure out which one it is... for tls in ${tlsvers[i]}; do @@ -7532,4 +7533,4 @@ fi exit $? -# $Id: testssl.sh,v 1.506 2016/06/23 17:42:25 dirkw Exp $ +# $Id: testssl.sh,v 1.507 2016/06/24 17:00:58 dirkw Exp $