mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-04 15:03:41 +01:00
refuse to permit --allciphers and --json together
This commit is contained in:
parent
8f3341a165
commit
179cbe8db1
@ -1387,6 +1387,11 @@ if [[ -n $CAPATH && -n $CACERTS ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -n $ALLCIPHERS && $OUTPUTFORMAT == "json" ]]; then
|
||||
echo "--allciphers cannot produce JSON output, aborting." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# echo parameters left: $@
|
||||
|
||||
if (( $# < 1 )); then
|
||||
|
Loading…
Reference in New Issue
Block a user