diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-05-02 09:32:29 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-05-02 09:32:29 -0500 |
commit | 53706565bc1df0898f9e65046429129c4822a354 (patch) | |
tree | 4da55f0d86fb5704d0bab00c89c45f70cde22d07 /tests | |
parent | d955cf854ce342a95d48b646ded8b2ef7e88e5ec (diff) | |
download | cryptography-53706565bc1df0898f9e65046429129c4822a354.tar.gz cryptography-53706565bc1df0898f9e65046429129c4822a354.tar.bz2 cryptography-53706565bc1df0898f9e65046429129c4822a354.zip |
cover some missing lines in dsa multibackend
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hazmat/backends/test_multibackend.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/hazmat/backends/test_multibackend.py b/tests/hazmat/backends/test_multibackend.py index c31b235e..fd2a30cd 100644 --- a/tests/hazmat/backends/test_multibackend.py +++ b/tests/hazmat/backends/test_multibackend.py @@ -239,6 +239,11 @@ class TestMultiBackend(object): parameters = object() backend.generate_dsa_private_key(parameters) + backend.create_dsa_verification_ctx("public_key", "sig", hashes.SHA1()) + backend.create_dsa_signature_ctx("private_key", hashes.SHA1()) + backend.dsa_hash_supported(hashes.SHA1()) + backend.dsa_parameters_supported(1, 2, 3) + backend = MultiBackend([]) with raises_unsupported_algorithm( _Reasons.UNSUPPORTED_PUBLIC_KEY_ALGORITHM |