aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/backends/openssl/backend.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2019-02-25 10:13:32 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2019-02-24 21:13:32 -0500
commit135bed6a4c12bfa602b3ee8ce9e1ce25333c738b (patch)
tree1c95d8506e9be663feebaab7f89ccd9d3f483b6c /src/cryptography/hazmat/backends/openssl/backend.py
parente1f7e0978231f73382f95b864200fdeca7d37bb7 (diff)
downloadcryptography-135bed6a4c12bfa602b3ee8ce9e1ce25333c738b.tar.gz
cryptography-135bed6a4c12bfa602b3ee8ce9e1ce25333c738b.tar.bz2
cryptography-135bed6a4c12bfa602b3ee8ce9e1ce25333c738b.zip
why did we have these variables (#4764)
Diffstat (limited to 'src/cryptography/hazmat/backends/openssl/backend.py')
-rw-r--r--src/cryptography/hazmat/backends/openssl/backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py
index 33a96af2..73491726 100644
--- a/src/cryptography/hazmat/backends/openssl/backend.py
+++ b/src/cryptography/hazmat/backends/openssl/backend.py
@@ -133,7 +133,7 @@ class Backend(object):
def _get_osurandom_engine(self):
# Fetches an engine by id and returns it. This creates a structural
# reference.
- e = self._lib.ENGINE_by_id(self._binding._osrandom_engine_id)
+ e = self._lib.ENGINE_by_id(self._lib.Cryptography_osrandom_engine_id)
self.openssl_assert(e != self._ffi.NULL)
# Initialize the engine for use. This adds a functional reference.
res = self._lib.ENGINE_init(e)