Skip to content

Commit

Permalink
test: ensure the test path is taken
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokub committed Sep 27, 2023
1 parent 64de55e commit 015c708
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/generator/ecdsa/template/ecdsa.test.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ func TestNonMalleability(t *testing.T) {
r.Add(r, frMod)
buf := r.Bytes()
copy(bsig[sizeFr:], buf[:])
big.NewInt(1).FillBytes(bsig[:sizeFr])

var sig Signature
_, err := sig.SetBytes(bsig)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func TestNonMalleability(t *testing.T) {
o.Add(&cp.Order, o)
buf := o.Bytes()
copy(bsig[sizeFr:], buf[:])
big.NewInt(1).FillBytes(bsig[:sizeFr])

var sig Signature
_, err := sig.SetBytes(bsig)
Expand Down

0 comments on commit 015c708

Please sign in to comment.