Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Nov 3, 2022
1 parent 13da927 commit 6e64e9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def server():
cert_file = os.path.join(self.cwd, 'certificates', 'localhost_ca1.pem')
key_file = os.path.join(self.cwd, 'certificates', 'localhost_ca1-key.pem')

context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
context = ssl.SSLContext(ssl.PROTOCOL_TLS)
context.load_cert_chain(cert_file, key_file)

with socket.socket(socket.AF_INET, socket.SOCK_STREAM, 0) as sock:
Expand Down

0 comments on commit 6e64e9b

Please sign in to comment.