aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-04 12:52:28 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-04 12:52:28 -0600
commitac4209a01e380abf5b0f985efdb9cb7524b512b7 (patch)
treeffc7cbb04b0dbbd7208aacaa0c41844223fbfe75
parent24ff720b4e9b4d6299a8c7c4d5a0bbc3f377fea0 (diff)
downloadcryptography-ac4209a01e380abf5b0f985efdb9cb7524b512b7.tar.gz
cryptography-ac4209a01e380abf5b0f985efdb9cb7524b512b7.tar.bz2
cryptography-ac4209a01e380abf5b0f985efdb9cb7524b512b7.zip
import build_ffi directly
-rw-r--r--cryptography/hazmat/bindings/openssl/binding.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cryptography/hazmat/bindings/openssl/binding.py b/cryptography/hazmat/bindings/openssl/binding.py
index 3fb3dc8b..e6dde954 100644
--- a/cryptography/hazmat/bindings/openssl/binding.py
+++ b/cryptography/hazmat/bindings/openssl/binding.py
@@ -13,7 +13,7 @@
from __future__ import absolute_import, division, print_function
-from cryptography.hazmat.bindings import utils
+from cryptography.hazmat.bindings.utils import build_ffi
_OSX_PRE_INCLUDE = """
#ifdef __APPLE__
@@ -76,6 +76,6 @@ class Binding(object):
if cls.ffi is not None and cls.lib is not None:
return
- cls.ffi, cls.lib = utils.build_ffi(cls._module_prefix, cls._modules,
- _OSX_PRE_INCLUDE, _OSX_POST_INCLUDE,
- ["crypto", "ssl"])
+ cls.ffi, cls.lib = build_ffi(cls._module_prefix, cls._modules,
+ _OSX_PRE_INCLUDE, _OSX_POST_INCLUDE,
+ ["crypto", "ssl"])