2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-04 23:13:41 +01:00

Replace numeric ALLCIPHERS comparison with simpler -n test.

This commit is contained in:
Richard Soderberg 2015-09-05 02:15:44 -07:00
parent 0de6abab61
commit 644c1aa83a

View File

@ -176,7 +176,7 @@ FALLBACKCIPHERSUITE=(
DEBUG=0
VERBOSE=0
DELAY=0
ALLCIPHERS=0
ALLCIPHERS=""
OUTPUTFORMAT="terminal"
TIMEOUT=30
# place where to put the found intermediate CA certificates and where
@ -1505,7 +1505,7 @@ else
fi
# If asked, test every single cipher individually
if [[ $ALLCIPHERS -gt 0 ]]; then
if [[ -n $ALLCIPHERS ]]; then
echo; echo "All accepted ciphersuites"
for c in $($OPENSSLBIN ciphers -v ALL:COMPLEMENTOFALL 2>/dev/null |awk '{print $1}'|sort|uniq); do
r="fail"