File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Misc/NEWS.d/next/Documentation Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1307,7 +1307,7 @@ including failing the host name check now raises
1307
1307
:exc: `~ssl.SSLCertVerificationError ` and aborts the handshake with a proper
1308
1308
TLS Alert message. The new exception contains additional information.
1309
1309
Host name validation can be customized with
1310
- :attr: `SSLContext.host_flags <ssl.SSLContext.host_flags > `.
1310
+ :attr: `SSLContext.hostname_checks_common_name <ssl.SSLContext.hostname_checks_common_name > `.
1311
1311
(Contributed by Christian Heimes in :issue: `31399 `.)
1312
1312
1313
1313
.. note ::
@@ -1320,8 +1320,7 @@ The ``ssl`` module no longer sends IP addresses in SNI TLS extension.
1320
1320
(Contributed by Christian Heimes in :issue: `32185 `.)
1321
1321
1322
1322
:func: `~ssl.match_hostname ` no longer supports partial wildcards like
1323
- ``www*.example.org ``. :attr: `SSLContext.host_flags <ssl.SSLContext.host_flags> `
1324
- has partial wildcard matching disabled by default.
1323
+ ``www*.example.org ``.
1325
1324
(Contributed by Mandeep Singh in :issue: `23033 ` and Christian Heimes in
1326
1325
:issue: `31399 `.)
1327
1326
Original file line number Diff line number Diff line change
1
+ What's new now mentions SSLContext.hostname_checks_common_name instead of
2
+ SSLContext.host_flags.
You can’t perform that action at this time.
0 commit comments