From b43562aabf2d0e63e891b80e677f5db4560e09cd Mon Sep 17 00:00:00 2001 From: David Cooper Date: Tue, 26 Jul 2016 11:13:45 -0400 Subject: [PATCH] Update testssl.sh --- testssl.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/testssl.sh b/testssl.sh index 0336251..436b70e 100755 --- a/testssl.sh +++ b/testssl.sh @@ -7839,9 +7839,11 @@ determine_optimal_proto() { all_failed=0 done debugme echo "OPTIMAL_PROTO: $OPTIMAL_PROTO" - pr_warningln "$NODEIP:$PORT appears to only support SSLv2." - ignore_no_or_lame " Type \"yes\" to accept some false negatives or positives " - [[ $? -ne 0 ]] && exit -2 + if [[ "$OPTIMAL_PROTO" == "-ssl2" ]]; then + pr_warningln "$NODEIP:$PORT appears to only support SSLv2." + ignore_no_or_lame " Type \"yes\" to accept some false negatives or positives " + [[ $? -ne 0 ]] && exit -2 + fi fi grep -q '^Server Temp Key' $TMPFILE && HAS_DH_BITS=true # FIX #190