diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-25 22:59:58 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-25 22:59:58 -0600 |
commit | dc720296556645f0641907e3618f6a1613c39fe7 (patch) | |
tree | 5e20562e2296dded7bacfdd618d2463073b2e433 /tests | |
parent | 8186251635237187012df878645a4e4af3822e4e (diff) | |
download | cryptography-dc720296556645f0641907e3618f6a1613c39fe7.tar.gz cryptography-dc720296556645f0641907e3618f6a1613c39fe7.tar.bz2 cryptography-dc720296556645f0641907e3618f6a1613c39fe7.zip |
more PKCS1->PKCS1v15
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hazmat/backends/test_multibackend.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hazmat/backends/test_multibackend.py b/tests/hazmat/backends/test_multibackend.py index 5a8f9934..63168180 100644 --- a/tests/hazmat/backends/test_multibackend.py +++ b/tests/hazmat/backends/test_multibackend.py @@ -170,7 +170,7 @@ class TestMultiBackend(object): hashes.MD5()) backend.create_rsa_verification_ctx("public_key", "sig", - padding.PKCS1(), hashes.MD5()) + padding.PKCS1v15(), hashes.MD5()) backend = MultiBackend([]) with pytest.raises(UnsupportedAlgorithm): @@ -181,5 +181,5 @@ class TestMultiBackend(object): hashes.MD5()) with pytest.raises(UnsupportedAlgorithm): - backend.create_rsa_verification_ctx("public_key", "sig", - padding.PKCS1(), hashes.MD5()) + backend.create_rsa_verification_ctx( + "public_key", "sig", padding.PKCS1v15(), hashes.MD5()) |