diff --git a/projects/cryptography/fuzz_dh.py b/projects/cryptography/fuzz_dh.py index 0639f9b85..779e20828 100644 --- a/projects/cryptography/fuzz_dh.py +++ b/projects/cryptography/fuzz_dh.py @@ -26,7 +26,7 @@ def TestInput(input_bytes): try: parameters = dh.generate_parameters( generator=(2 if fdp.ConsumeBool() else 5), - key_size=fdp.ConsumeInt(15) + key_size=fdp.ConsumeInt(4) ) except ValueError as e: if "DH key_size must be at least 512 bits" not in str(e):