Skip to content

Commit

Permalink
Update sign1.go
Browse files Browse the repository at this point in the history
Co-authored-by: Shiwei Zhang <shizh@microsoft.com>
Signed-off-by: qmuntal <qmuntaldiaz@microsoft.com>
  • Loading branch information
qmuntal and shizhMSFT committed May 18, 2022
1 parent fd08a57 commit 02a1b14
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sign1.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,5 @@ func Sign1(rand io.Reader, signer Signer, header Headers, payload []byte, extern
if err != nil {
return nil, err
}
sig, err := msg.MarshalCBOR()
if err != nil {
return nil, err
}
return sig, nil
return msg.MarshalCBOR()
}

0 comments on commit 02a1b14

Please sign in to comment.