dharanikumar-s пре 6 година
родитељ
комит
fe73154a20
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      authority/tls.go

+ 1 - 1
authority/tls.go

@@ -201,7 +201,7 @@ func (a *Authority) RenewOrRekey(oldCert *x509.Certificate, pk crypto.PublicKey)
 			pubBytes, err := x509.MarshalPKIXPublicKey(pk)
 			pubBytes, err := x509.MarshalPKIXPublicKey(pk)
 			if err != nil {
 			if err != nil {
 				return nil, errs.Wrap(http.StatusInternalServerError, err,
 				return nil, errs.Wrap(http.StatusInternalServerError, err,
-					"authority.RenewOrRekey; error marshalling public key", opts...)
+					"authority.RenewOrRekey; error marshaling public key", opts...)
 			}
 			}
 			hash := sha1.Sum(pubBytes)
 			hash := sha1.Sum(pubBytes)
 			skiExtension := pkix.Extension{
 			skiExtension := pkix.Extension{