aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormtury <maxence.tury@ssi.gouv.fr>2017-07-17 14:23:04 +0200
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-07-17 14:23:04 +0200
commitcc12beaccae801aa901c1f3dc9c936244633b022 (patch)
tree51f3375ce94357c60e89fa991af6fb1712309781 /tests
parenta2173583d928cc95977f8dbbb7dd48cc732b24f5 (diff)
downloadcryptography-cc12beaccae801aa901c1f3dc9c936244633b022.tar.gz
cryptography-cc12beaccae801aa901c1f3dc9c936244633b022.tar.bz2
cryptography-cc12beaccae801aa901c1f3dc9c936244633b022.zip
Remove DH generator size constraint (#3364)
* Remove DH generator size constraint * Check that g > 1
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/primitives/test_dh.py2
1 files changed, 1 insertions, 1 deletions
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(