Skip to content

Commit

Permalink
Update main.go to have CRL linting lint on provided registry (#874)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joshschoenberg authored Aug 11, 2024
1 parent f83e4e2 commit 2e67fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v3/cmd/zlint/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2e67fb9

Please sign in to comment.