Fix error message spelling

This commit is contained in:
Jan Dittberner 2022-04-24 11:24:15 +02:00 committed by Jan Dittberner
parent baf6d0f037
commit c538be4385
2 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@ func (s *Settings) UnmarshalYAML(n *yaml.Node) error {
} }
if data.ValidityYears.Root < data.ValidityYears.Intermediary { if data.ValidityYears.Root < data.ValidityYears.Intermediary {
return SettingsError{"validity of root CA certificates must be equal or greater than those if" + return SettingsError{"validity of root CA certificates must be equal or greater than those of" +
" intermediary CA certificates"} " intermediary CA certificates"}
} }

View file

@ -746,8 +746,8 @@ url-patterns:
crl: http://crl.example.org/%s.crl crl: http://crl.example.org/%s.crl
issuer: http://issuer.example.org/%s.crt issuer: http://issuer.example.org/%s.crt
`, `,
errMsg: "invalid Settings validity of root CA certificates must be equal or greater than " + errMsg: "invalid Settings validity of root CA certificates must be equal or greater than" +
"those of intermediary CA certificates", " those of intermediary CA certificates",
}, },
"no OCSP pattern": { "no OCSP pattern": {
yaml: ` yaml: `