aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlyph <glyph@twistedmatrix.com>2015-06-26 22:00:45 -0700
committerGlyph <glyph@twistedmatrix.com>2015-06-26 22:00:45 -0700
commit73541ea8b61ae871fcd4470600f7012fb1aa75b3 (patch)
treef4b1e8012caaaf1d7253bee1a5461d60dd7ce385 /src
parenteaed9510a08ee61a7f495de554e4f936985d68bd (diff)
downloadcryptography-73541ea8b61ae871fcd4470600f7012fb1aa75b3.tar.gz
cryptography-73541ea8b61ae871fcd4470600f7012fb1aa75b3.tar.bz2
cryptography-73541ea8b61ae871fcd4470600f7012fb1aa75b3.zip
use new constant
Diffstat (limited to 'src')
-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 78de79d1..85f65972 100644
--- a/src/cryptography/hazmat/backends/openssl/backend.py
+++ b/src/cryptography/hazmat/backends/openssl/backend.py
@@ -197,7 +197,7 @@ class Backend(object):
self.activate_builtin_random()
# Fetches an engine by id and returns it. This creates a structural
# reference.
- e = self._lib.ENGINE_by_id(self._lib.Cryptography_osrandom_engine_id)
+ e = self._lib.ENGINE_by_id(self._binding._osrandom_engine_id)
assert e != self._ffi.NULL
# Initialize the engine for use. This adds a functional reference.
res = self._lib.ENGINE_init(e)