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 {
|
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"}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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: `
|
||||||
|
|
Loading…
Reference in a new issue