1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-06 22:01:57 +02:00

Update testssl.sh

This commit is contained in:
David Cooper
2016-07-26 11:13:45 -04:00
committed by GitHub
parent 23d311b1fc
commit b43562aabf

@ -7839,9 +7839,11 @@ determine_optimal_proto() {
all_failed=0 all_failed=0
done done
debugme echo "OPTIMAL_PROTO: $OPTIMAL_PROTO" debugme echo "OPTIMAL_PROTO: $OPTIMAL_PROTO"
pr_warningln "$NODEIP:$PORT appears to only support SSLv2." if [[ "$OPTIMAL_PROTO" == "-ssl2" ]]; then
ignore_no_or_lame " Type \"yes\" to accept some false negatives or positives " pr_warningln "$NODEIP:$PORT appears to only support SSLv2."
[[ $? -ne 0 ]] && exit -2 ignore_no_or_lame " Type \"yes\" to accept some false negatives or positives "
[[ $? -ne 0 ]] && exit -2
fi
fi fi
grep -q '^Server Temp Key' $TMPFILE && HAS_DH_BITS=true # FIX #190 grep -q '^Server Temp Key' $TMPFILE && HAS_DH_BITS=true # FIX #190