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
1 changed files with 5 additions and 3 deletions

View File

@ -7839,10 +7839,12 @@ determine_optimal_proto() {
all_failed=0
done
debugme echo "OPTIMAL_PROTO: $OPTIMAL_PROTO"
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
if [[ $all_failed -eq 0 ]]; then