From 2e67fb9993c52daf50ca7f12aaf1ddba877d71e9 Mon Sep 17 00:00:00 2001 From: joshschoenberg Date: Sun, 11 Aug 2024 08:49:33 -0700 Subject: [PATCH] Update main.go to have CRL linting lint on provided registry (#874) 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 {