Skip to content

Commit 6d58b75

Browse files
committed
fixup
1 parent efa7a20 commit 6d58b75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)