forked from TrueCloudLab/certificates
Fix marshaling -> marshalling
This commit is contained in:
parent
2110c7722f
commit
540d5fbbdc
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ func (h *Handler) validateExternalAccountBinding(ctx context.Context, nar *NewAc
|
||||||
var payloadJWK *squarejose.JSONWebKey
|
var payloadJWK *squarejose.JSONWebKey
|
||||||
err = json.Unmarshal(payload, &payloadJWK)
|
err = json.Unmarshal(payload, &payloadJWK)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, acme.WrapError(acme.ErrorMalformedType, err, "error unmarshaling payload into jwk")
|
return nil, acme.WrapError(acme.ErrorMalformedType, err, "error unmarshalling payload into jwk")
|
||||||
}
|
}
|
||||||
|
|
||||||
if !keysAreEqual(jwk, payloadJWK) {
|
if !keysAreEqual(jwk, payloadJWK) {
|
||||||
|
|
Loading…
Reference in a new issue