mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-10-31 12:51:53 +03:00
Removed X25519MLKEM768 from optional supported groups
This commit is contained in:
@@ -149,6 +149,7 @@ def create_ssl_context(*, check_hostname: bool = True) -> ssl.SSLContext:
|
||||
if bundle_dir else certifi.where())
|
||||
context = ssl.create_default_context(cafile=cafile)
|
||||
context.load_default_certs()
|
||||
context.set_ecdh_curve('X25519')
|
||||
context.check_hostname = check_hostname
|
||||
return context
|
||||
|
||||
|
||||
Reference in New Issue
Block a user