summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r--src/leap/bitmask/core/uuid_map.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/leap/bitmask/core/uuid_map.py b/src/leap/bitmask/core/uuid_map.py
index 262e3db4..e7d02a31 100644
--- a/src/leap/bitmask/core/uuid_map.py
+++ b/src/leap/bitmask/core/uuid_map.py
@@ -30,13 +30,11 @@ from leap.common.config import get_path_prefix
IS_WIN = platform.system() == "Windows"
if IS_WIN:
+
import socket
from cryptography.fernet import Fernet
- from cryptography.hazmat.backends.multibackend import MultiBackend
- from cryptography.hazmat.backends.openssl.backend \
- import Backend as OpenSSLBackend
- crypto_backend = MultiBackend([OpenSSLBackend()])
-
+ from cryptography.hazmat.backends import default_backend
+ crypto_backend = default_backend()
MAP_PATH = os.path.join(get_path_prefix(), 'leap', 'uuids')