This commit is contained in:
Dirk Wetter 2015-08-28 16:46:28 +02:00
parent 9b718d39d0
commit 412fb6fb05

View File

@ -1321,8 +1321,7 @@ run_prototest_openssl() {
# SSLv3 doesn't have SNI (openssl doesn't complain though -- yet) # SSLv3 doesn't have SNI (openssl doesn't complain though -- yet)
$OPENSSL s_client -state $1 $STARTTLS -connect $NODEIP:$PORT $sni &>$TMPFILE </dev/null $OPENSSL s_client -state $1 $STARTTLS -connect $NODEIP:$PORT $sni &>$TMPFILE </dev/null
ret=$? #TODO (maybe): here FreeBSD9 returns always 0 --> need to read the error ret=$? #TODO (maybe): here FreeBSD9 returns always 0 --> need to read the error
$VERBERR && \ [[ $DEBUG -eq 2 ]] && egrep "error|failure" $TMPFILE | egrep -av "unable to get local|verify error"
egrep "error|failure" $TMPFILE | egrep -av "unable to get local|verify error"
grep -aq "no cipher list" $TMPFILE && ret=5 grep -aq "no cipher list" $TMPFILE && ret=5
fi fi
@ -4814,4 +4813,4 @@ fi
exit $ret exit $ret
# $Id: testssl.sh,v 1.363 2015/08/28 12:59:03 dirkw Exp $ # $Id: testssl.sh,v 1.364 2015/08/28 14:46:27 dirkw Exp $