diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-12 10:03:53 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-12 10:03:53 -0500 |
commit | 3e5f21b505a7a6a1a6fe95b719ef8eb355e09db0 (patch) | |
tree | 6c291c41bc64af789def6a1ffe8d9496090a56bb /tests/hazmat/primitives | |
parent | 6e3b6b18b26b05122cf43001dbddd2f65220fe21 (diff) | |
download | cryptography-3e5f21b505a7a6a1a6fe95b719ef8eb355e09db0.tar.gz cryptography-3e5f21b505a7a6a1a6fe95b719ef8eb355e09db0.tar.bz2 cryptography-3e5f21b505a7a6a1a6fe95b719ef8eb355e09db0.zip |
do value checks when converting from numbers to key
Diffstat (limited to 'tests/hazmat/primitives')
-rw-r--r-- | tests/hazmat/primitives/test_rsa.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py index 6b65eba5..ffaaf587 100644 --- a/tests/hazmat/primitives/test_rsa.py +++ b/tests/hazmat/primitives/test_rsa.py @@ -1644,7 +1644,7 @@ class TestRSAEncryption(object): class TestRSANumbers(object): def test_rsa_public_numbers(self): public_numbers = rsa.RSAPublicNumbers(e=1, n=15) - assert public_numbers.e == 3 + assert public_numbers.e == 1 assert public_numbers.n == 15 def test_rsa_private_numbers(self): |