diff options
author | mtury <maxence.tury@ssi.gouv.fr> | 2017-07-17 14:23:04 +0200 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-07-17 14:23:04 +0200 |
commit | cc12beaccae801aa901c1f3dc9c936244633b022 (patch) | |
tree | 51f3375ce94357c60e89fa991af6fb1712309781 /tests | |
parent | a2173583d928cc95977f8dbbb7dd48cc732b24f5 (diff) | |
download | cryptography-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.py | 2 |
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( |