mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
unifying output for missing must_staple xt and CT
This commit is contained in:
parent
d2d62a9c55
commit
20d33da11b
@ -6322,8 +6322,8 @@ must_staple() {
|
|||||||
fileout "${jsonID}${json_postfix}" "HIGH" "extension detected but no OCSP stapling provided"
|
fileout "${jsonID}${json_postfix}" "HIGH" "extension detected but no OCSP stapling provided"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
outln "no"
|
outln "--"
|
||||||
fileout "${jsonID}${json_postfix}" "INFO" "no"
|
fileout "${jsonID}${json_postfix}" "INFO" "--"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6397,7 +6397,7 @@ certificate_transparency() {
|
|||||||
# At the moment Certificate Transparency only applies to HTTPS.
|
# At the moment Certificate Transparency only applies to HTTPS.
|
||||||
tm_out "N/A"
|
tm_out "N/A"
|
||||||
else
|
else
|
||||||
tm_out "no"
|
tm_out "--"
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
@ -7095,7 +7095,7 @@ certificate_info() {
|
|||||||
fi
|
fi
|
||||||
outln
|
outln
|
||||||
|
|
||||||
out "$indent"; pr_bold " OCSP must staple ";
|
out "$indent"; pr_bold " OCSP must staple extension ";
|
||||||
must_staple "$json_postfix" "$provides_stapling"
|
must_staple "$json_postfix" "$provides_stapling"
|
||||||
|
|
||||||
out "$indent"; pr_bold " DNS CAA RR"; out " (experimental) "
|
out "$indent"; pr_bold " DNS CAA RR"; out " (experimental) "
|
||||||
|
Loading…
Reference in New Issue
Block a user