From cc12beaccae801aa901c1f3dc9c936244633b022 Mon Sep 17 00:00:00 2001 From: mtury Date: Mon, 17 Jul 2017 14:23:04 +0200 Subject: Remove DH generator size constraint (#3364) * Remove DH generator size constraint * Check that g > 1 --- tests/hazmat/primitives/test_dh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/hazmat') diff --git a/tests/hazmat/primitives/test_dh.py b/tests/hazmat/primitives/test_dh.py index fa658ae5..25be51c9 100644 --- a/tests/hazmat/primitives/test_dh.py +++ b/tests/hazmat/primitives/test_dh.py @@ -53,7 +53,7 @@ def test_dh_parameternumbers(): with pytest.raises(ValueError): dh.DHParameterNumbers( - 65537, 7 + 65537, 1 ) params = dh.DHParameterNumbers( -- cgit v1.2.3