From 5c490fe7f86823cf2c918780dc8c49a766529a68 Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Fri, 24 Feb 2023 22:59:06 +0100 Subject: [PATCH] test_malformed_sigs: make sure variable is initialised --- src/ecdsa/test_malformed_sigs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ecdsa/test_malformed_sigs.py b/src/ecdsa/test_malformed_sigs.py index 8e1b611d..d5e5001a 100644 --- a/src/ecdsa/test_malformed_sigs.py +++ b/src/ecdsa/test_malformed_sigs.py @@ -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(