Merge pull request #1885 from definity/3.0

fixed minor bug with json output for TLS1.1
This commit is contained in:
Dirk Wetter 2021-05-09 20:37:07 +02:00 committed by GitHub
commit 5758c397da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5186,7 +5186,7 @@ run_protocols() {
add_tls_offered tls1_1 no
if [[ -z $latest_supported ]]; then
outln
fileout "$jsonID" "INFO" "is not offered" # neither good or bad
fileout "$jsonID" "INFO" "not offered" # neither good or bad
else
prln_svrty_critical " -- connection failed rather than downgrading to $latest_supported_string"
fileout "$jsonID" "CRITICAL" "connection failed rather than downgrading to $latest_supported_string"
@ -5222,7 +5222,7 @@ run_protocols() {
fileout "$jsonID" "WARN" "TLS downgraded to STARTTLS plaintext"
;;
4) out "likely not offered, "
fileout "$jsonID" "INFO" "is not offered"
fileout "$jsonID" "INFO" "not offered"
add_tls_offered tls1_1 no
pr_warning "received 4xx/5xx after STARTTLS handshake"; outln "$debug_recomm"
fileout "$jsonID" "WARN" "received 4xx/5xx after STARTTLS handshake${debug_recomm}"