Corrected misspelling

This commit is contained in:
dharanikumar-s 2020-07-05 22:50:02 +05:30
parent a3b5211e0f
commit fe73154a20

View file

@ -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{