summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/mail
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/mail')
-rw-r--r--src/leap/bitmask/mail/walk.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/leap/bitmask/mail/walk.py b/src/leap/bitmask/mail/walk.py
index 6c9fc38..e25ea16 100644
--- a/src/leap/bitmask/mail/walk.py
+++ b/src/leap/bitmask/mail/walk.py
@@ -20,14 +20,12 @@ store.
"""
from email.parser import Parser
-from cryptography.hazmat.backends.multibackend import MultiBackend
-from cryptography.hazmat.backends.openssl.backend import (
- Backend as OpenSSLBackend)
from cryptography.hazmat.primitives import hashes
+from cryptography.hazmat.backends import default_backend
from leap.bitmask.mail.utils import first
-crypto_backend = MultiBackend([OpenSSLBackend()])
+crypto_backend = default_backend()
_parser = Parser()