Skip to content

Commit

Permalink
test_malformed_sigs: no branches in strategy generators
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Mar 2, 2023
1 parent 31039b4 commit da44d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecdsa/test_malformed_sigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def st_der():
of a valid DER structure, sequence of valid DER objects or a constructed
encoding of any of the above.
"""
return st.recursive(
return st.recursive( # pragma: no branch
st.just(b"")
| st_der_integer(max_value=2**4096)
| st_der_bit_string(max_size=1024**2)
Expand Down

0 comments on commit da44d14

Please sign in to comment.