| 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()
|
|
|