Skip to content

Commit

Permalink
RFC8813 is not referrable from the CLI as a valid lint source (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-henderson authored Sep 8, 2024
1 parent caa62ac commit 372cdc6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion v3/lint/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (s *LintSource) UnmarshalJSON(data []byte) error {
}

switch LintSource(throwAway) {
case RFC5280, RFC5480, RFC5891, CABFBaselineRequirements, CABFEVGuidelines, CABFSMIMEBaselineRequirements, MozillaRootStorePolicy, AppleRootStorePolicy, Community, EtsiEsi, RFC6962:
case RFC8813, RFC5280, RFC5480, RFC5891, CABFBaselineRequirements, CABFEVGuidelines, CABFSMIMEBaselineRequirements, MozillaRootStorePolicy, AppleRootStorePolicy, Community, EtsiEsi, RFC6962:
*s = LintSource(throwAway)
return nil
default:
Expand All @@ -77,6 +77,8 @@ func (s *LintSource) FromString(src string) {
*s = RFC5480
case RFC5891:
*s = RFC5891
case RFC8813:
*s = RFC8813
case CABFBaselineRequirements:
*s = CABFBaselineRequirements
case CABFEVGuidelines:
Expand Down

0 comments on commit 372cdc6

Please sign in to comment.