From 929f8d119839288455d038952aab79730baf4c61 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Mon, 27 May 2013 15:29:07 -0400 Subject: [PATCH] Fix exception name in backported ssl fix. --- tornado/netutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2