Skip to content

Commit

Permalink
Fix TLS version.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkskeller committed Jan 16, 2024
1 parent 0caff74 commit c91180d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExternalIO/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def set_keepalive_osx(sock, after_idle_sec=1, interval_sec=3, max_fails=5):

class Client:
def __init__(self, hostnames, port_base, my_client_id):
ctx = ssl.SSLContext()
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
name = 'C%d' % my_client_id
prefix = 'Player-Data/%s' % name
ctx.load_cert_chain(certfile=prefix + '.pem', keyfile=prefix + '.key')
Expand Down

0 comments on commit c91180d

Please sign in to comment.