From e4012fa7bc4accd6ae4fd426328e06ed0f5b6db4 Mon Sep 17 00:00:00 2001 From: Spencer McCreary Date: Thu, 15 Jun 2023 11:06:11 -0500 Subject: [PATCH] fix: typo UnataggedSign1Message -> UntaggedSign1Message Signed-off-by: Spencer McCreary --- sign1.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sign1.go b/sign1.go index fa229e9..48640ab 100644 --- a/sign1.go +++ b/sign1.go @@ -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")