Removed X25519MLKEM768 from optional supported groups

This commit is contained in:
Flowseal
2026-10-30 18:44:15 +03:00
parent 44c5ee2a57
commit a70fc8c5c1
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -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