Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: third_party/tlslite/tlslite/integration/tlssocketservermixin.py

Issue 210323002: Update tlslite to 0.4.6. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Executable bit and --similarity=80 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/tlslite/tlslite/integration/tlssocketservermixin.py
diff --git a/third_party/tlslite/tlslite/integration/tlssocketservermixin.py b/third_party/tlslite/tlslite/integration/tlssocketservermixin.py
index afb4135f88926a215dfbe89162cc0f01c6b534ac..8e2182f65d055b4978296d9616c61d2e7f11675e 100644
--- a/third_party/tlslite/tlslite/integration/tlssocketservermixin.py
+++ b/third_party/tlslite/tlslite/integration/tlssocketservermixin.py
@@ -1,3 +1,6 @@
+# Author: Trevor Perrin
+# See the LICENSE file for legal information regarding use of this file.
+
"""TLS Lite + SocketServer."""
from tlslite.tlsconnection import TLSConnection
@@ -17,7 +20,7 @@ class TLSSocketServerMixIn:
from SocketServer import *
from BaseHTTPServer import *
from SimpleHTTPServer import *
- from tlslite.api import *
+ from tlslite import *
s = open("./serverX509Cert.pem").read()
x509 = X509()
@@ -56,4 +59,4 @@ class TLSSocketServerMixIn:
#Implement this method to do some form of handshaking. Return True
#if the handshake finishes properly and the request is authorized.
def handshake(self, tlsConnection):
- raise NotImplementedError()
+ raise NotImplementedError()

Powered by Google App Engine
This is Rietveld 408576698