mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
736ed6f7a9
commit
17b16e13bb
24 changed files with 1023 additions and 1023 deletions
|
@ -368,7 +368,7 @@ def _ipaddress_match(cert_ipaddress, host_ip):
|
|||
(section 1.7.2 - "Out of Scope").
|
||||
"""
|
||||
# OpenSSL may add a trailing newline to a subjectAltName's IP address,
|
||||
# commonly woth IPv6 addresses. Strip off trailing \n.
|
||||
# commonly with IPv6 addresses. Strip off trailing \n.
|
||||
ip = _inet_paton(cert_ipaddress.rstrip())
|
||||
return ip == host_ip
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue