Skip to content

Commit

Permalink
test_malformed_sigs: make sure variable is initialised
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Feb 28, 2023
1 parent cd5ac4f commit 5c490fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ecdsa/test_malformed_sigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def st_fuzzed_sig(draw, keys_and_sigs):
note("Remove bytes: {0}".format(to_remove))

# decide which bytes of the original signature should be changed
xors = None
if sig: # pragma: no branch
xors = draw(
st.dictionaries(
Expand Down

0 comments on commit 5c490fe

Please sign in to comment.