test(reference): pass message when verifying tampered proof

This commit is contained in:
radik878 authored and GitHub committed 2025-08-11 10:36:43 +03:00
1 parent 4f1359d0f8
commit 90091a2d06
1 file changed
+1 -1
+1 -1
View File
@@ -144,5 +144,5 @@ class DLEQTests(unittest.TestCase):
proof_damaged[random.randrange(len(proof))] ^= 1 << (
random.randrange(8)
)
success = dleq_verify_proof(A, B, C, bytes(proof_damaged))
success = dleq_verify_proof(A, B, C, bytes(proof_damaged), m=message)
self.assertFalse(success)