mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Trivial typo fix
noone => none
This commit is contained in:
parent
857880218d
commit
4fc8111c0a
@ -528,7 +528,7 @@ cookieflags() { # ARG1: Path, ARG2: path
|
|||||||
nr_cookies=`cat $TMPFILE | wc -l`
|
nr_cookies=`cat $TMPFILE | wc -l`
|
||||||
out "$nr_cookies issued: "
|
out "$nr_cookies issued: "
|
||||||
if [ $nr_cookies -gt 1 ] ; then
|
if [ $nr_cookies -gt 1 ] ; then
|
||||||
negative_word="NOONE"
|
negative_word="NONE"
|
||||||
else
|
else
|
||||||
negative_word="NOT"
|
negative_word="NOT"
|
||||||
fi
|
fi
|
||||||
@ -1221,7 +1221,7 @@ pfs() {
|
|||||||
else
|
else
|
||||||
pr_litegreenln "In general PFS is offered. Now testing specific ciphers ...";
|
pr_litegreenln "In general PFS is offered. Now testing specific ciphers ...";
|
||||||
outln "(it depends on the browser/client whether one of them will be used)\n"
|
outln "(it depends on the browser/client whether one of them will be used)\n"
|
||||||
noone=0
|
none=0
|
||||||
neat_header
|
neat_header
|
||||||
$OPENSSL ciphers -V "$PFSOK" | while read hexcode n ciph sslvers kx auth enc mac; do
|
$OPENSSL ciphers -V "$PFSOK" | while read hexcode n ciph sslvers kx auth enc mac; do
|
||||||
$OPENSSL s_client -cipher $ciph $STARTTLS -connect $NODEIP:$PORT $SNI &>/dev/null </dev/null
|
$OPENSSL s_client -cipher $ciph $STARTTLS -connect $NODEIP:$PORT $SNI &>/dev/null </dev/null
|
||||||
@ -1238,12 +1238,12 @@ pfs() {
|
|||||||
out "not a/v"
|
out "not a/v"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
noone=1
|
none=1
|
||||||
fi
|
fi
|
||||||
outln
|
outln
|
||||||
done
|
done
|
||||||
outln
|
outln
|
||||||
if [ "$noone" -eq 0 ] ; then
|
if [ "$none" -eq 0 ] ; then
|
||||||
ret=0
|
ret=0
|
||||||
else
|
else
|
||||||
pr_magenta "no PFS ciphers found"
|
pr_magenta "no PFS ciphers found"
|
||||||
|
Loading…
Reference in New Issue
Block a user