aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends/test_openssl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hazmat/backends/test_openssl.py')
-rw-r--r--tests/hazmat/backends/test_openssl.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index 8846491a..b24f03a8 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -259,9 +259,7 @@ class TestOpenSSLRandomEngine(object):
stdout=out
)
- osrandom_engine_name = backend._ffi.string(
- backend._lib.Cryptography_osrandom_engine_name
- )
+ osrandom_engine_name = backend._binding._osrandom_engine_name
assert engine_name.read().encode('ascii') == osrandom_engine_name