diff options
author | Binbin <binloveplay1314@qq.com> | 2021-06-13 02:47:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-13 02:47:44 (GMT) |
commit | 17b16e13bb444001534ed6fccb459084596c8bcf (patch) | |
tree | 569101fcca308843dd1ff731dbd74682d7700f6f /Lib/ssl.py | |
parent | 736ed6f7a9f465ba728198e8bca81e5fbe71bc37 (diff) | |
download | cpython-17b16e13bb444001534ed6fccb459084596c8bcf.zip cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.gz cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.bz2 |
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r-- | Lib/ssl.py | 2 |
1 files changed, 1 insertions, 1 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 |