Skip to content

Commit 6e64e9b

Browse files
committed
fixup
1 parent 13da927 commit 6e64e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tests/integration/test_PROTON_1870_ssl_error_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def server():
173173
cert_file = os.path.join(self.cwd, 'certificates', 'localhost_ca1.pem')
174174
key_file = os.path.join(self.cwd, 'certificates', 'localhost_ca1-key.pem')
175175

176-
context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
176+
context = ssl.SSLContext(ssl.PROTOCOL_TLS)
177177
context.load_cert_chain(cert_file, key_file)
178178

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

0 commit comments

Comments
 (0)