aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2013-11-06 11:12:45 -0800
committerDavid Reid <dreid@dreid.org>2013-11-20 09:50:18 -0800
commitef0fcf26c920c011948f078481739f4e2c31535f (patch)
tree24fa4b4603d77f24b6052fac5ce3b9337a685871 /cryptography
parent077e76e697ebf25aa9fd757f0ef1fd1251b7d408 (diff)
downloadcryptography-ef0fcf26c920c011948f078481739f4e2c31535f.tar.gz
cryptography-ef0fcf26c920c011948f078481739f4e2c31535f.tar.bz2
cryptography-ef0fcf26c920c011948f078481739f4e2c31535f.zip
Add a default_backend and start updating docs.
Diffstat (limited to 'cryptography')
-rw-r--r--cryptography/hazmat/bindings/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cryptography/hazmat/bindings/__init__.py b/cryptography/hazmat/bindings/__init__.py
index eb828999..bd158198 100644
--- a/cryptography/hazmat/bindings/__init__.py
+++ b/cryptography/hazmat/bindings/__init__.py
@@ -14,7 +14,10 @@
from cryptography.hazmat.bindings import openssl
-_default_backend = openssl.backend
_ALL_BACKENDS = [
openssl.backend
]
+
+
+def default_backend():
+ return openssl.backend