diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-24 19:32:57 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-24 19:32:57 -0600 |
commit | bfba58bf535048d9b29fd2b7b6044695aa02a4c7 (patch) | |
tree | 3f13f56866eef64f1303456bff0f3c81ed08e5a7 /tests/hazmat/backends/test_multibackend.py | |
parent | 8584d6066ae50a0c9917d409df994e469f3fbbee (diff) | |
download | cryptography-bfba58bf535048d9b29fd2b7b6044695aa02a4c7.tar.gz cryptography-bfba58bf535048d9b29fd2b7b6044695aa02a4c7.tar.bz2 cryptography-bfba58bf535048d9b29fd2b7b6044695aa02a4c7.zip |
update multibackend with new PKCS1v15 class name
Diffstat (limited to 'tests/hazmat/backends/test_multibackend.py')
-rw-r--r-- | tests/hazmat/backends/test_multibackend.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/backends/test_multibackend.py b/tests/hazmat/backends/test_multibackend.py index e3f83d3a..be1e76e2 100644 --- a/tests/hazmat/backends/test_multibackend.py +++ b/tests/hazmat/backends/test_multibackend.py @@ -162,7 +162,7 @@ class TestMultiBackend(object): key_size=1024, public_exponent=65537 ) - backend.create_rsa_signature_ctx("private_key", padding.PKCS1(), + backend.create_rsa_signature_ctx("private_key", padding.PKCS1v15(), hashes.MD5()) backend = MultiBackend([]) @@ -170,5 +170,5 @@ class TestMultiBackend(object): backend.generate_rsa_private_key(key_size=1024, public_exponent=3) with pytest.raises(UnsupportedAlgorithm): - backend.create_rsa_signature_ctx("private_key", padding.PKCS1(), + backend.create_rsa_signature_ctx("private_key", padding.PKCS1v15(), hashes.MD5()) |