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

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: More policy_testserver.py Created 6 years, 9 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
similarity index 90%
rename from third_party/tlslite/tlslite/integration/TLSSocketServerMixIn.py
rename to third_party/tlslite/tlslite/integration/tlssocketservermixin.py
index dd4f945dd07054e98f6394056f8efef472593ea8..8e2182f65d055b4978296d9616c61d2e7f11675e 100644
--- a/third_party/tlslite/tlslite/integration/TLSSocketServerMixIn.py
+++ b/third_party/tlslite/tlslite/integration/tlssocketservermixin.py
@@ -1,6 +1,9 @@
+# Author: Trevor Perrin
+# See the LICENSE file for legal information regarding use of this file.
+
"""TLS Lite + SocketServer."""
-from tlslite.TLSConnection import TLSConnection
+from tlslite.tlsconnection import TLSConnection
class TLSSocketServerMixIn:
"""
@@ -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()

Powered by Google App Engine
This is Rietveld 408576698