Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
Signed-off-by: qmuntal <qmuntaldiaz@microsoft.com>
  • Loading branch information
qmuntal committed Jun 23, 2022
1 parent f4cb5b9 commit 634ecd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion headers.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (h *UnprotectedHeader) UnmarshalCBOR(data []byte) error {
return err
}
if err := ensureNoCritical(header); err != nil {
return fmt.Errorf("unprotected header: %w")
return fmt.Errorf("unprotected header: %w", err)
}
if err := ensureHeaderIV(header); err != nil {
return fmt.Errorf("unprotected header: %w", err)
Expand Down

0 comments on commit 634ecd0

Please sign in to comment.