From: Ben Darnell Date: Mon, 27 May 2013 19:29:07 +0000 (-0400) Subject: Fix exception name in backported ssl fix. X-Git-Tag: v3.1.0~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=929f8d119839288455d038952aab79730baf4c61;p=thirdparty%2Ftornado.git Fix exception name in backported ssl fix. --- diff --git a/tornado/netutil.py b/tornado/netutil.py index 839c285e5..5e77bc10f 100644 --- a/tornado/netutil.py +++ b/tornado/netutil.py @@ -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