summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2020-01-07 19:51:58 +1100
committerMarkus Unterwaditzer <markus@unterwaditzer.net>2020-01-07 09:51:58 +0100
commitd1804ace20e357d54d99635e80fef48ba761d61b (patch)
tree93a4003379ad905b510e1bfa7eb8907b6f85768f
parent8e7de70c5f099600480e08bdc708041dc581929e (diff)
downloadraven-d1804ace20e357d54d99635e80fef48ba761d61b.tar.gz
Fix simple typo: survery -> survey (#1357)
Closes #1356
-rw-r--r--raven/utils/ssl_match_hostname.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/raven/utils/ssl_match_hostname.py b/raven/utils/ssl_match_hostname.py
index 7e2764f..7aa8c62 100644
--- a/raven/utils/ssl_match_hostname.py
+++ b/raven/utils/ssl_match_hostname.py
@@ -26,7 +26,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(