From ee962b1a4a8fb5bb7bbf2e18dc8627d8ed15f312 Mon Sep 17 00:00:00 2001 From: swee Date: Fri, 24 Jan 2025 19:18:51 -0800 Subject: [PATCH] Update server.py --- server.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/server.py b/server.py index ab3dcd6..93aa034 100644 --- a/server.py +++ b/server.py @@ -147,8 +147,6 @@ context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH) for i in context.get_ciphers(): if not i["protocol"] in foundVersions: foundVersions.append(i["protocol"]) -context.options |= ssl.OP_NO_SSLv2 # Disable SSL 2 -context.options |= ssl.OP_NO_SSLv3 # Disable SSL 3 if ssl_option: print(f"Loading SSL cert {ssl_cert} with key {ssl_pkey}") context.load_cert_chain(ssl_cert, keyfile=ssl_pkey)