mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-19 06:59:30 +01:00
Merge pull request #2022 from dcooper16/fix_s_client_options
Fix s_client_options()
This commit is contained in:
commit
1a66155c4a
@ -2197,7 +2197,7 @@ s_client_options() {
|
|||||||
if "$HAS_SECLEVEL"; then
|
if "$HAS_SECLEVEL"; then
|
||||||
if [[ "$ciphers" == notpresent ]]; then
|
if [[ "$ciphers" == notpresent ]]; then
|
||||||
[[ ! " $options " =~ \ -tls1_3\ ]] && ciphers="@SECLEVEL=0:ALL:COMPLEMENTOFALL"
|
[[ ! " $options " =~ \ -tls1_3\ ]] && ciphers="@SECLEVEL=0:ALL:COMPLEMENTOFALL"
|
||||||
else
|
elif [[ -n "$ciphers" ]]; then
|
||||||
ciphers="@SECLEVEL=0:$ciphers"
|
ciphers="@SECLEVEL=0:$ciphers"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user