From e72e2aee7454d99fd93c8b373e1de17ee0248ae1 Mon Sep 17 00:00:00 2001 From: joshschoenberg Date: Wed, 7 Aug 2024 15:33:53 -0700 Subject: [PATCH] Update main.go to have CRL linting lint on provided registry Currently, linting a CRL will run all lint sources. The proposed change makes it so that only the provided lint sources or lint names will be run when a CRL is linted. --- v3/cmd/zlint/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3/cmd/zlint/main.go b/v3/cmd/zlint/main.go index 68194675e..5cc799093 100644 --- a/v3/cmd/zlint/main.go +++ b/v3/cmd/zlint/main.go @@ -200,7 +200,7 @@ func doLint(inputFile *os.File, inform string, registry lint.Registry) { if err != nil { log.Fatalf("unable to parse certificate revocation list: %s", err) } - zlintResult = zlint.LintRevocationList(crl) + zlintResult = zlint.LintRevocationListEx(crl, registry) } else { c, err := x509.ParseCertificate(asn1Data) if err != nil {