aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-10-19 18:04:38 +0300
committerBerker Peksag <berker.peksag@gmail.com>2014-10-19 18:04:38 +0300
commitf23530f5690d2e37bba7235a6398b2c386a5b485 (patch)
tree0e2ed390b1bc3007fa60dcc784f4ae3f3d21b1ff /Lib/ssl.py
parent0fc08fd2c7774a5521ae198b04639ec634fdb5c2 (diff)
downloadcpython-f23530f5690d2e37bba7235a6398b2c386a5b485.tar.gz
cpython-f23530f5690d2e37bba7235a6398b2c386a5b485.zip
Issue #22186: Fix typos in Lib/.
Patch by Févry Thibault.
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r--Lib/ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py
index d9d191628cd..e2636eff4c9 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -213,7 +213,7 @@ def _dnsname_match(dn, hostname, max_wildcards=1):
wildcards = leftmost.count('*')
if wildcards > max_wildcards:
# Issue #17980: avoid denials of service by refusing more
- # than one wildcard per fragment. A survery of established
+ # than one wildcard per fragment. A survey of established
# policy among SSL implementations showed it to be a
# reasonable choice.
raise CertificateError(