mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23:41 +01:00
Replace numeric ALLCIPHERS comparison with simpler -n test.
This commit is contained in:
parent
0de6abab61
commit
644c1aa83a
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user