diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-06-21 12:45:52 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-06-21 12:45:52 -0700 |
commit | 79a5130f7985aecd6b0680aa4a3f2d142d0bdc26 (patch) | |
tree | a6ef1d1fbb76bdbf842fe22c542f23424a819d20 /tests | |
parent | 5c86c317bd4a37a6f78bb4f1c2a0a3ae88967abc (diff) | |
parent | 6e85b179a8da26b26ef53ff88c08172b61e37898 (diff) | |
download | cryptography-79a5130f7985aecd6b0680aa4a3f2d142d0bdc26.tar.gz cryptography-79a5130f7985aecd6b0680aa4a3f2d142d0bdc26.tar.bz2 cryptography-79a5130f7985aecd6b0680aa4a3f2d142d0bdc26.zip |
Merge pull request #1159 from reaperhulk/deprecate-mgf1
deprecate mgf1_hash_supported
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py index f9e692b4..0dd91695 100644 --- a/tests/hazmat/backends/test_openssl.py +++ b/tests/hazmat/backends/test_openssl.py @@ -353,7 +353,10 @@ class TestOpenSSLRSA(object): ) def test_unsupported_mgf1_hash_algorithm(self): - assert backend.mgf1_hash_supported(DummyHash()) is False + assert pytest.deprecated_call( + backend.mgf1_hash_supported, + DummyHash() + ) is False def test_rsa_padding_unsupported_pss_mgf1_hash(self): assert backend.rsa_padding_supported( |