diff --git a/v3/lint/source.go b/v3/lint/source.go index aefeb8186..e0b19d941 100644 --- a/v3/lint/source.go +++ b/v3/lint/source.go @@ -51,7 +51,7 @@ func (s *LintSource) UnmarshalJSON(data []byte) error { } switch LintSource(throwAway) { - case RFC5280, RFC5480, RFC5891, CABFBaselineRequirements, CABFEVGuidelines, MozillaRootStorePolicy, AppleRootStorePolicy, Community, EtsiEsi: + case RFC5280, RFC5480, RFC5891, CABFBaselineRequirements, CABFEVGuidelines, CABFSMIMEBaselineRequirements, MozillaRootStorePolicy, AppleRootStorePolicy, Community, EtsiEsi: *s = LintSource(throwAway) return nil default: @@ -79,6 +79,8 @@ func (s *LintSource) FromString(src string) { *s = CABFBaselineRequirements case CABFEVGuidelines: *s = CABFEVGuidelines + case CABFSMIMEBaselineRequirements: + *s = CABFSMIMEBaselineRequirements case MozillaRootStorePolicy: *s = MozillaRootStorePolicy case AppleRootStorePolicy: diff --git a/v3/zlint.go b/v3/zlint.go index 132aaf56b..7cb773f88 100644 --- a/v3/zlint.go +++ b/v3/zlint.go @@ -24,6 +24,7 @@ import ( _ "github.com/zmap/zlint/v3/lints/apple" _ "github.com/zmap/zlint/v3/lints/cabf_br" _ "github.com/zmap/zlint/v3/lints/cabf_ev" + _ "github.com/zmap/zlint/v3/lints/cabf_smime_br" _ "github.com/zmap/zlint/v3/lints/community" _ "github.com/zmap/zlint/v3/lints/etsi" _ "github.com/zmap/zlint/v3/lints/mozilla"