]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix exception name in backported ssl fix.
authorBen Darnell <ben@bendarnell.com>
Mon, 27 May 2013 19:29:07 +0000 (15:29 -0400)
committerBen Darnell <ben@bendarnell.com>
Mon, 27 May 2013 19:29:07 +0000 (15:29 -0400)
tornado/netutil.py

index 839c285e503eb0fa0b76b1c8a11130dfc6bc8a55..5e77bc10f90b35c740bd9fcc5332b03d0f41b343 100644 (file)
@@ -362,7 +362,7 @@ else:
                 # than one wildcard per fragment.  A survery of established
                 # policy among SSL implementations showed it to be a
                 # reasonable choice.
-                raise CertificateError(
+                raise SSLCertificateError(
                     "too many wildcards in certificate DNS name: " + repr(dn))
             if frag == '*':
                 # When '*' is a fragment by itself, it matches a non-empty dotless