diff options
-rw-r--r-- | cryptography/hazmat/backends/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cryptography/hazmat/backends/__init__.py b/cryptography/hazmat/backends/__init__.py index b4ef210d..e4fd94ed 100644 --- a/cryptography/hazmat/backends/__init__.py +++ b/cryptography/hazmat/backends/__init__.py @@ -24,5 +24,6 @@ if CommonCryptoBinding.is_available(): _ALL_BACKENDS.append(commoncrypto.backend) +_default_backend = PrioritizedMultiBackend(_ALL_BACKENDS) def default_backend(): - return PrioritizedMultiBackend(_ALL_BACKENDS) + return _default_backend |