Skip to content

Commit

Permalink
Merge pull request #243 from dickiesanders/fix-misspellings
Browse files Browse the repository at this point in the history
Updated misspelled term 'expessions' in 9 places
  • Loading branch information
marcos-albornoz authored Aug 3, 2022
2 parents b2e4c2d + 7349138 commit 3efcf68
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pkg/endpoint/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,14 @@ func NewZoneConfiguration() *ZoneConfiguration {
func (p *Policy) ValidateCertificateRequest(request *certificate.Request) error {

const (
emailError = "email addresses %v do not match regular expessions: %v"
ipError = "IP addresses %v do not match regular expessions: %v"
uriError = "URIs %v do not match regular expessions: %v"
organizationError = "organization %v doesn't match regular expessions: %v"
organizationUnitError = "organization unit %v doesn't match regular expessions: %v"
countryError = "country %v doesn't match regular expessions: %v"
locationError = "location %v doesn't match regular expessions: %v"
provinceError = "state (province) %v doesn't match regular expessions: %v"
emailError = "email addresses %v do not match regular expressions: %v"
ipError = "IP addresses %v do not match regular expressions: %v"
uriError = "URIs %v do not match regular expressions: %v"
organizationError = "organization %v doesn't match regular expressions: %v"
organizationUnitError = "organization unit %v doesn't match regular expressions: %v"
countryError = "country %v doesn't match regular expressions: %v"
locationError = "location %v doesn't match regular expressions: %v"
provinceError = "state (province) %v doesn't match regular expressions: %v"
keyError = "the requested Key Type and Size do not match any of the allowed Key Types and Sizes"
)
err := p.SimpleValidateCertificateRequest(*request)
Expand Down Expand Up @@ -329,7 +329,7 @@ func (p *Policy) SimpleValidateCertificateRequest(request certificate.Request) e
csr := request.GetCSR()
const (
cnError = "common name %s is not allowed in this policy: %v"
SANsError = "DNS SANs %v do not match regular expessions: %v"
SANsError = "DNS SANs %v do not match regular expressions: %v"
)
if len(csr) > 0 {
pemBlock, _ := pem.Decode(csr)
Expand Down

0 comments on commit 3efcf68

Please sign in to comment.