forked from TrueCloudLab/certificates
Corrected misspelling
This commit is contained in:
parent
a3b5211e0f
commit
fe73154a20
1 changed files with 1 additions and 1 deletions
|
@ -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{
|
||||||
|
|
Loading…
Reference in a new issue