mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Remove a few redundant quotes in run_client_simulation()
This commit is contained in:
parent
c183c213e5
commit
31c5107a64
@ -4479,7 +4479,7 @@ run_client_simulation() {
|
||||
for name in "${short[@]}"; do
|
||||
if "${current[i]}" || "$ALL_CLIENTS" ; then
|
||||
# for ANY we test this service or if the service we determined from STARTTLS matches
|
||||
if [[ "${service[i]}" == "ANY" ]] || [[ "${service[i]}" =~ $client_service ]]; then
|
||||
if [[ "${service[i]}" == ANY ]] || [[ "${service[i]}" =~ $client_service ]]; then
|
||||
out " $(printf -- "%-29s" "${names[i]}")"
|
||||
if "$using_sockets" && [[ -n "${handshakebytes[i]}" ]]; then
|
||||
client_simulation_sockets "${handshakebytes[i]}"
|
||||
@ -4514,7 +4514,7 @@ run_client_simulation() {
|
||||
bits="${temp##*, }"
|
||||
# formatting
|
||||
curve="${temp#*, }"
|
||||
if [[ "$curve" == "$bits" ]]; then
|
||||
if [[ "$curve" == $bits ]]; then
|
||||
curve=""
|
||||
else
|
||||
curve="${curve%%,*}"
|
||||
@ -4525,7 +4525,7 @@ run_client_simulation() {
|
||||
curve="$what_dh"
|
||||
what_dh="ECDH"
|
||||
fi
|
||||
if [[ "$what_dh" == "DH" ]]; then
|
||||
if [[ "$what_dh" == DH ]]; then
|
||||
[[ ${minDhBits[i]} -ne -1 ]] && [[ $bits -lt ${minDhBits[i]} ]] && sclient_success=1
|
||||
[[ ${maxDhBits[i]} -ne -1 ]] && [[ $bits -gt ${maxDhBits[i]} ]] && sclient_success=1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user