Fix error message spelling

main
Jan Dittberner 2 years ago committed by Jan Dittberner
parent baf6d0f037
commit c538be4385

@ -83,7 +83,7 @@ func (s *Settings) UnmarshalYAML(n *yaml.Node) error {
}
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"}
}

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

Loading…
Cancel
Save