From 404d40cf682ceee63a7fc4d261f9e4cd42ff0a79 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Mon, 6 Feb 2023 06:40:22 -0800 Subject: [PATCH] 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(). --- testssl.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 6e4387d..ed747d9 100755 --- a/testssl.sh +++ b/testssl.sh @@ -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++))