Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -283,6 +283,7 @@ jobs:
- { name: openssl, version: 3.4.5 }
- { name: openssl, version: 3.5.6 }
- { name: openssl, version: 3.6.2 }
- { name: openssl, version: 4.0.0 }
## AWS-LC
- { name: aws-lc, version: 1.72.1 }
env:
Expand Down
4 changes: 3 additions & 1 deletion Lib/test/test_poplib.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -185,7 +185,8 @@ def _do_tls_handshake(self):
elif err.args[0] == ssl.SSL_ERROR_EOF:
return self.handle_close()
# TODO: SSLError does not expose alert information
elif ("SSLV3_ALERT_BAD_CERTIFICATE" in err.args[1] or
elif ("TLS_ALERT_BAD_CERTIFICATE" in err.args[1] or
"SSLV3_ALERT_BAD_CERTIFICATE" in err.args[1] or
"SSLV3_ALERT_CERTIFICATE_UNKNOWN" in err.args[1]):
return self.handle_close()
raise
Expand DownExpand Up@@ -423,6 +424,7 @@ def test_stls_context(self):
self.assertEqual(ctx.check_hostname, True)
with self.assertRaises(ssl.CertificateError):
resp = self.client.stls(context=ctx)

self.client = poplib.POP3("localhost", self.server.port,
timeout=test_support.LOOPBACK_TIMEOUT)
resp = self.client.stls(context=ctx)
Expand Down
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
Add OpenSSL 4.0.0 support to test configurations.
1 change: 1 addition & 0 deletions Tools/ssl/multissltests.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -54,6 +54,7 @@
"3.4.5",
"3.5.6",
"3.6.2",
"4.0.0",
# See make_ssl_data.py for notes on adding a new version.
]

Expand Down
Loading