aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends/test_openssl.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-02-04 16:04:39 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-02-04 16:04:39 -0600
commit1389acbfa1fb90cdabe93810c30b481e9d3e4042 (patch)
tree6fad765c5dfbc4cde4699672b544cc096ce31168 /tests/hazmat/backends/test_openssl.py
parent57b325e90bd20156fcbd64a57961c2a760ca28bb (diff)
downloadcryptography-1389acbfa1fb90cdabe93810c30b481e9d3e4042.tar.gz
cryptography-1389acbfa1fb90cdabe93810c30b481e9d3e4042.tar.bz2
cryptography-1389acbfa1fb90cdabe93810c30b481e9d3e4042.zip
assert the right thing
Diffstat (limited to 'tests/hazmat/backends/test_openssl.py')
-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 046ff3e1..ef7560f7 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -92,7 +92,7 @@ def activate_dummy_engine():
assert current_rand != backend._ffi.NULL
name = backend._lib.ENGINE_get_name(current_rand)
assert name != backend._ffi.NULL
- assert name != dummy_engine.Cryptography_faux_engine_id
+ assert name != dummy_engine.Cryptography_faux_engine_name
res = backend._lib.ENGINE_finish(current_rand)
assert res == 1
e = backend._lib.ENGINE_by_id(dummy_engine.Cryptography_faux_engine_id)