Merge pull request #984 from dcooper16/fix983

Fix #983
This commit is contained in:
Dirk Wetter 2018-02-08 18:24:41 +01:00 committed by GitHub
commit 38f0aa04b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12536,7 +12536,7 @@ run_tls_fallback_scsv() {
fileout "$jsonID" "HIGH" "only SSLv3 supported"
return 7
;;
*) pr_svrty_good "No fallback possible, TLS 1.3 is the only protocol (OK)"
*) prln_svrty_good "No fallback possible, TLS 1.3 is the only protocol (OK)"
fileout "$jsonID" "OK" "only TLS 1.3 supported"
return 7
esac
@ -12558,11 +12558,12 @@ run_tls_fallback_scsv() {
if [[ -z "$low_proto" ]]; then
case "$high_proto" in
"tls1_2")
pr_svrty_good "No fallback possible, no protocol below $high_proto_str offered (OK)"
prln_svrty_good "No fallback possible, no protocol below $high_proto_str offered (OK)"
;;
*) out "No fallback possible, no protocol below $high_proto_str offered (OK)"
*) outln "No fallback possible, no protocol below $high_proto_str offered (OK)"
;;
esac
fileout "$jsonID" "OK" "no protocol below $high_proto_str offered"
return 7
fi
case "$low_proto" in