mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-06-12 01:31:42 +03:00
Fall back to system libcrypto when cryptography is unavailable (#894)
This commit is contained in:
@@ -2,7 +2,7 @@ import asyncio
|
||||
import logging
|
||||
import struct
|
||||
|
||||
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
|
||||
from ._aes import Cipher, algorithms, modes
|
||||
from typing import Dict, List, Optional
|
||||
from urllib.parse import urlencode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user