mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Merge pull request #1884 from definity/3.1dev
fixed minor bug with json output for TLS1.1
This commit is contained in:
commit
2c3589742b
@ -5434,7 +5434,7 @@ run_protocols() {
|
|||||||
add_proto_offered tls1_1 no
|
add_proto_offered tls1_1 no
|
||||||
if [[ -z $latest_supported ]]; then
|
if [[ -z $latest_supported ]]; then
|
||||||
outln
|
outln
|
||||||
fileout "$jsonID" "INFO" "is not offered" # neither good or bad
|
fileout "$jsonID" "INFO" "not offered" # neither good or bad
|
||||||
else
|
else
|
||||||
prln_svrty_critical " -- connection failed rather than downgrading to $latest_supported_string"
|
prln_svrty_critical " -- connection failed rather than downgrading to $latest_supported_string"
|
||||||
fileout "$jsonID" "CRITICAL" "connection failed rather than downgrading to $latest_supported_string"
|
fileout "$jsonID" "CRITICAL" "connection failed rather than downgrading to $latest_supported_string"
|
||||||
@ -5470,7 +5470,7 @@ run_protocols() {
|
|||||||
fileout "$jsonID" "WARN" "TLS downgraded to STARTTLS plaintext"
|
fileout "$jsonID" "WARN" "TLS downgraded to STARTTLS plaintext"
|
||||||
;;
|
;;
|
||||||
4) out "likely not offered, "
|
4) out "likely not offered, "
|
||||||
fileout "$jsonID" "INFO" "is not offered"
|
fileout "$jsonID" "INFO" "not offered"
|
||||||
add_proto_offered tls1_1 no
|
add_proto_offered tls1_1 no
|
||||||
pr_warning "received 4xx/5xx after STARTTLS handshake"; outln "$debug_recomm"
|
pr_warning "received 4xx/5xx after STARTTLS handshake"; outln "$debug_recomm"
|
||||||
fileout "$jsonID" "WARN" "received 4xx/5xx after STARTTLS handshake${debug_recomm}"
|
fileout "$jsonID" "WARN" "received 4xx/5xx after STARTTLS handshake${debug_recomm}"
|
||||||
|
Loading…
Reference in New Issue
Block a user