Commit 47eb2234 authored by Christian Heimes's avatar Christian Heimes Committed by Miss Islington (bot)

bpo-36868: Fix what's new for SSLContext.hostname_checks_common_name (GH-13248)



What's new now mentions SSLContext.hostname_checks_common_name instead of SSLContext.host_flags.


https://bugs.python.org/issue36868
parent e35d1ba9
...@@ -1307,7 +1307,7 @@ including failing the host name check now raises ...@@ -1307,7 +1307,7 @@ including failing the host name check now raises
:exc:`~ssl.SSLCertVerificationError` and aborts the handshake with a proper :exc:`~ssl.SSLCertVerificationError` and aborts the handshake with a proper
TLS Alert message. The new exception contains additional information. TLS Alert message. The new exception contains additional information.
Host name validation can be customized with Host name validation can be customized with
:attr:`SSLContext.host_flags <ssl.SSLContext.host_flags>`. :attr:`SSLContext.hostname_checks_common_name <ssl.SSLContext.hostname_checks_common_name>`.
(Contributed by Christian Heimes in :issue:`31399`.) (Contributed by Christian Heimes in :issue:`31399`.)
.. note:: .. note::
...@@ -1320,8 +1320,7 @@ The ``ssl`` module no longer sends IP addresses in SNI TLS extension. ...@@ -1320,8 +1320,7 @@ The ``ssl`` module no longer sends IP addresses in SNI TLS extension.
(Contributed by Christian Heimes in :issue:`32185`.) (Contributed by Christian Heimes in :issue:`32185`.)
:func:`~ssl.match_hostname` no longer supports partial wildcards like :func:`~ssl.match_hostname` no longer supports partial wildcards like
``www*.example.org``. :attr:`SSLContext.host_flags <ssl.SSLContext.host_flags>` ``www*.example.org``.
has partial wildcard matching disabled by default.
(Contributed by Mandeep Singh in :issue:`23033` and Christian Heimes in (Contributed by Mandeep Singh in :issue:`23033` and Christian Heimes in
:issue:`31399`.) :issue:`31399`.)
......
What's new now mentions SSLContext.hostname_checks_common_name instead of
SSLContext.host_flags.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment