Fix typos in error message (#2692)

This commit is contained in:
Seth Rutner 2017-05-10 07:28:35 -07:00 committed by Jeff Mitchell
parent 08f3b08bbd
commit 3874b63af3
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ func (b *backend) pathSetSignedIntermediate(
cert := data.Get("certificate").(string)
if cert == "" {
return logical.ErrorResponse("no certificate provided in the \"certficate\" parameter"), nil
return logical.ErrorResponse("no certificate provided in the \"certificate\" parameter"), nil
}
inputBundle, err := certutil.ParsePEMBundle(cert)

View File

@ -286,7 +286,7 @@ func (p *ParsedCertBundle) ToCertBundle() (*CertBundle, error) {
}
// Verify checks if the parsed bundle is valid. It validates the public
// key of the certificate to the private key and checks the certficate trust
// key of the certificate to the private key and checks the certificate trust
// chain for path issues.
func (p *ParsedCertBundle) Verify() error {
// If private key exists, check if it matches the public key of cert