Merge pull request #2022 from dcooper16/fix_s_client_options

Fix s_client_options()
This commit is contained in:
Dirk Wetter 2021-10-25 19:02:07 +02:00 committed by GitHub
commit 1a66155c4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2197,7 +2197,7 @@ s_client_options() {
if "$HAS_SECLEVEL"; then
if [[ "$ciphers" == notpresent ]]; then
[[ ! " $options " =~ \ -tls1_3\ ]] && ciphers="@SECLEVEL=0:ALL:COMPLEMENTOFALL"
else
elif [[ -n "$ciphers" ]]; then
ciphers="@SECLEVEL=0:$ciphers"
fi
fi