Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/veraison/go-cose into clean…
Browse files Browse the repository at this point in the history
…marshal
  • Loading branch information
qmuntal committed Jul 5, 2023
2 parents 8f578d3 + cebef14 commit fec382b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sign1.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func (m *UntaggedSign1Message) MarshalCBOR() ([]byte, error) {
return encMode.Marshal(content)
}

// UnmarshalCBOR decodes a COSE_Sign1 object into an UnataggedSign1Message.
// UnmarshalCBOR decodes a COSE_Sign1 object into an UntaggedSign1Message.
func (m *UntaggedSign1Message) UnmarshalCBOR(data []byte) error {
if m == nil {
return errors.New("cbor: UnmarshalCBOR on nil UntaggedSign1Message pointer")
Expand Down

0 comments on commit fec382b

Please sign in to comment.