mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 22:33:40 +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
|
DEBUG=0
|
||||||
VERBOSE=0
|
VERBOSE=0
|
||||||
DELAY=0
|
DELAY=0
|
||||||
ALLCIPHERS=0
|
ALLCIPHERS=""
|
||||||
OUTPUTFORMAT="terminal"
|
OUTPUTFORMAT="terminal"
|
||||||
TIMEOUT=30
|
TIMEOUT=30
|
||||||
# place where to put the found intermediate CA certificates and where
|
# place where to put the found intermediate CA certificates and where
|
||||||
@ -1505,7 +1505,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# If asked, test every single cipher individually
|
# If asked, test every single cipher individually
|
||||||
if [[ $ALLCIPHERS -gt 0 ]]; then
|
if [[ -n $ALLCIPHERS ]]; then
|
||||||
echo; echo "All accepted ciphersuites"
|
echo; echo "All accepted ciphersuites"
|
||||||
for c in $($OPENSSLBIN ciphers -v ALL:COMPLEMENTOFALL 2>/dev/null |awk '{print $1}'|sort|uniq); do
|
for c in $($OPENSSLBIN ciphers -v ALL:COMPLEMENTOFALL 2>/dev/null |awk '{print $1}'|sort|uniq); do
|
||||||
r="fail"
|
r="fail"
|
||||||
|
Loading…
Reference in New Issue
Block a user