Merge pull request #801 from dcooper16/std_cipherlists_has_server_protocol

std_cipherlists() and has_server_protocol()
This commit is contained in:
Dirk Wetter 2017-07-25 21:48:52 +02:00 committed by GitHub
commit b60e25fbea

View File

@ -2276,7 +2276,7 @@ std_cipherlists() {
sclient_success=$?
[[ $sclient_success -eq 2 ]] && sclient_success=0
fi
if [[ $sclient_success -ne 0 ]] && has_server_protocol "ssl2"; then
if [[ $sclient_success -ne 0 ]]; then
if ( [[ -z "$6" ]] || "$FAST" ) && "$HAS_SSL2" && listciphers "$1" -ssl2; then
$OPENSSL s_client -cipher "$1" $BUGS $STARTTLS -connect $NODEIP:$PORT $PROXY -ssl2 2>$ERRFILE >$TMPFILE </dev/null
sclient_connect_successful $? $TMPFILE