Fix marshaling -> marshalling

This commit is contained in:
Herman Slatman 2021-07-17 20:35:44 +02:00
parent 2110c7722f
commit 540d5fbbdc
No known key found for this signature in database
GPG key ID: F4D8A44EA0A75A4F

View file

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