aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-01-07 14:40:25 -0800
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-01-07 21:26:37 -0800
commit8c66f74a94d96b5eae23413118ee0ab05d1a52bc (patch)
tree6d256f497e09d43d5cfbdf34666fd2a2118fdffa /tests/hazmat/backends
parentbbeb555933abb17b231c95f6ea0780910326b11a (diff)
downloadcryptography-8c66f74a94d96b5eae23413118ee0ab05d1a52bc.tar.gz
cryptography-8c66f74a94d96b5eae23413118ee0ab05d1a52bc.tar.bz2
cryptography-8c66f74a94d96b5eae23413118ee0ab05d1a52bc.zip
opaque EVP_PKEY since EVP_PKEY_id exists
Diffstat (limited to 'tests/hazmat/backends')
-rw-r--r--tests/hazmat/backends/test_openssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index ad2daf7d..40cfc323 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -621,7 +621,7 @@ class TestOpenSSLSerializationWithOpenSSL(object):
assert backend._ffi.string(buf, len(password)) == password
def test_unsupported_evp_pkey_type(self):
- key = pretend.stub(type="unsupported")
+ key = backend._create_evp_pkey_gc()
with raises_unsupported_algorithm(None):
backend._evp_pkey_to_private_key(key)
with raises_unsupported_algorithm(None):