File tree Expand file tree Collapse file tree
Misc/NEWS.d/next/Documentation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1307,7 +1307,7 @@ including failing the host name check now raises
13071307:exc: `~ssl.SSLCertVerificationError ` and aborts the handshake with a proper
13081308TLS Alert message. The new exception contains additional information.
13091309Host 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 > `.
13111311(Contributed by Christian Heimes in :issue: `31399 `.)
13121312
13131313.. note ::
@@ -1320,8 +1320,7 @@ The ``ssl`` module no longer sends IP addresses in SNI TLS extension.
13201320(Contributed by Christian Heimes in :issue: `32185 `.)
13211321
13221322: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 ``.
13251324(Contributed by Mandeep Singh in :issue: `23033 ` and Christian Heimes in
13261325:issue: `31399 `.)
13271326
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