Skip to content

Commit 404d40c

Browse files
authored
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().
1 parent 3bacce4 commit 404d40c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

testssl.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8791,7 +8791,6 @@ certificate_info() {
87918791
# Shortcut for this special case here. There is a difference between not being in a root store and being removed from a root store.
87928792
pr_italic "$issuer_O"; out " is " ; prln_svrty_critical "actively removed from one or more root stores (NOT ok)"
87938793
fileout "${jsonID}${json_postfix}" "CRITICAL" "Issuer removed from one or more root stores ($issuer_O)"
8794-
set_grade_cap "T" "Untrusted certificate chain"
87958794
else
87968795
# Also handles fileout, keep error if happened
87978796
determine_trust "$jsonID" "$json_postfix" || ((ret++))

0 commit comments

Comments
 (0)