summaryrefslogtreecommitdiffstats
path: root/Lib/ssl.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:53:55 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:53:55 (GMT)
commit9a3777e525b389ec5881c3f80a482fb821ab3ea5 (patch)
treee83520348eea751f2b02e8effa76f3cce2c644cd /Lib/ssl.py
parent07351a044960f259c8730de3f81356fbcdbe2bbf (diff)
parent30b9d5d3af043fc2687ad11a188a34fe355e20ef (diff)
downloadcpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.zip
cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.gz
cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.bz2
#18705: merge with 3.3.
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 2c81a54..d17f8de 100644
--- a/Lib/ssl.py
+++ b/Lib/ssl.py
@@ -171,7 +171,7 @@ def _dnsname_to_pat(dn, max_wildcards=1):
for frag in dn.split(r'.'):
if frag.count('*') > 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(