mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-16 20:03:41 +01:00
Style fix
This commit is contained in:
parent
4bc2539f44
commit
ad88f047e6
@ -15,7 +15,7 @@ DOBENCHMARK=0
|
||||
BENCHMARKITER=30
|
||||
TIMEOUTBIN=timeout
|
||||
if [ "${OS}" = "FreeBSD" ]; then
|
||||
TIMEOUTBIN=gtimeout
|
||||
TIMEOUTBIN=gtimeout
|
||||
fi
|
||||
OPENSSLBIN="$(dirname $0)/openssl"
|
||||
if [ -z "$CACERTS" ]; then
|
||||
@ -66,7 +66,7 @@ Use one of the options below:
|
||||
-h | --help Shows this help text.
|
||||
-j | --json Output results in JSON format.
|
||||
-o | --openssl path/to/your/openssl binary you want to use.
|
||||
-s | --sni Activates SNI
|
||||
-s | --sni Activates SNI
|
||||
-v | --verbose Increase verbosity.
|
||||
|
||||
The rest of the arguments will be interpreted as openssl s_client argument.
|
||||
@ -340,7 +340,7 @@ do
|
||||
OPENSSLBIN=$2 # You might want to check if you really got FILE
|
||||
shift 2
|
||||
;;
|
||||
-s | --sni)
|
||||
-s | --sni)
|
||||
SNISCAN=1
|
||||
shift
|
||||
;;
|
||||
@ -409,7 +409,7 @@ debug "target: $TARGET"
|
||||
|
||||
SNIPARAM=""
|
||||
if [ $SNISCAN -gt 0 ]; then
|
||||
SNIPARAM="-servername ${HOST}"
|
||||
SNIPARAM="-servername ${HOST}"
|
||||
fi
|
||||
SCLIENTARGS="$SNIPARAM $(sed -e s,${TEMPTARGET},,<<<"${@}")"
|
||||
debug "sclientargs: $SCLIENTARGS"
|
||||
|
Loading…
Reference in New Issue
Block a user