Skip to content

Commit

Permalink
fix: typo UnataggedSign1Message -> UntaggedSign1Message (#148)
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer McCreary <smccreary@squareup.com>
  • Loading branch information
spennymac authored Jul 4, 2023
1 parent b67457d commit 8ba8d69
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 8ba8d69

Please sign in to comment.