r47199 - sslverify

hawkowl-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Sun, 10 Apr 2016 00:59:15 -0600 (MDT)
Newsgroups gmane.comp.python.twisted.commits
Message-ID <[email protected]>
Author: hawkowl
Date: Sun Apr 10 00:59:11 2016
New Revision: 47199

Modified:
   branches/oldstyle-internet-8281/twisted/internet/_sslverify.py

Log:
sslverify

Modified: branches/oldstyle-internet-8281/twisted/internet/_sslverify.py
==============================================================================
--- branches/oldstyle-internet-8281/twisted/internet/_sslverify.py	(original)
+++ branches/oldstyle-internet-8281/twisted/internet/_sslverify.py	Sun Apr 10 00:59:11 2016
@@ -20,6 +20,7 @@
     SSL_CB_HANDSHAKE_DONE = 0x20
 
 from twisted.python import log
+from twisted.python._oldstyle import _oldStyle
 
 
 def _cantSetHostnameIndication(connection, hostname):
@@ -415,6 +416,7 @@
 
 
 
+@_oldStyle
 class CertBase:
     """
     Base class for public (certificate only) and private (certificate + key
@@ -756,6 +758,7 @@
                                                  digestAlgorithm)
 
 
+@_oldStyle
 class PublicKey:
     """
     A L{PublicKey} is a representation of the public part of a key pair.