aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/hazmat/backends/__init__.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/cryptography/hazmat/backends/__init__.py b/cryptography/hazmat/backends/__init__.py
index 10067ede..406b37e5 100644
--- a/cryptography/hazmat/backends/__init__.py
+++ b/cryptography/hazmat/backends/__init__.py
@@ -11,13 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+from cryptography.hazmat.backends import openssl
from cryptography.hazmat.backends.multibackend import MultiBackend
from cryptography.hazmat.bindings.commoncrypto.binding import (
Binding as CommonCryptoBinding
)
-from cryptography.hazmat.bindings.openssl.binding import (
- Binding as OpenSSLBinding
-)
_ALL_BACKENDS = []
@@ -25,9 +23,7 @@ if CommonCryptoBinding.is_available():
from cryptography.hazmat.backends import commoncrypto
_ALL_BACKENDS.append(commoncrypto.backend)
-if OpenSSLBinding.is_available():
- from cryptography.hazmat.backends import openssl
- _ALL_BACKENDS.append(openssl.backend)
+_ALL_BACKENDS.append(openssl.backend)
_default_backend = MultiBackend(_ALL_BACKENDS)