mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-19 15:09:30 +01:00
FIX #182
This commit is contained in:
parent
9b718d39d0
commit
412fb6fb05
@ -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 $
|
||||||
|
Loading…
Reference in New Issue
Block a user