Fix error message spelling
This commit is contained in:
parent
baf6d0f037
commit
c538be4385
2 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue