mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Remove set_grade_cap() from 3.0
Grading is a new feature in 3.1dev,, so set_grade_cap() is not defined in the 3.0 branch. This commit removes the call to set_grade_cap() in certificate_info().
This commit is contained in:
parent
3bacce4770
commit
404d40cf68
@ -8791,7 +8791,6 @@ certificate_info() {
|
||||
# Shortcut for this special case here. There is a difference between not being in a root store and being removed from a root store.
|
||||
pr_italic "$issuer_O"; out " is " ; prln_svrty_critical "actively removed from one or more root stores (NOT ok)"
|
||||
fileout "${jsonID}${json_postfix}" "CRITICAL" "Issuer removed from one or more root stores ($issuer_O)"
|
||||
set_grade_cap "T" "Untrusted certificate chain"
|
||||
else
|
||||
# Also handles fileout, keep error if happened
|
||||
determine_trust "$jsonID" "$json_postfix" || ((ret++))
|
||||
|
Loading…
Reference in New Issue
Block a user