| Index: third_party/tlslite/tlslite/integration/tlsasyncdispatchermixin.py
|
| diff --git a/third_party/tlslite/tlslite/integration/tlsasyncdispatchermixin.py b/third_party/tlslite/tlslite/integration/tlsasyncdispatchermixin.py
|
| index a210a51c55e4ca9670a243382191ba4fc91574aa..dc3259662ab3f165a91a4220f8cf894d9d1a2a1e 100644
|
| --- a/third_party/tlslite/tlslite/integration/tlsasyncdispatchermixin.py
|
| +++ b/third_party/tlslite/tlslite/integration/tlsasyncdispatchermixin.py
|
| @@ -1,9 +1,15 @@
|
| +# Authors:
|
| +# Trevor Perrin
|
| +# Martin von Loewis - python 3 port
|
| +#
|
| +# See the LICENSE file for legal information regarding use of this file.
|
| +
|
| """TLS Lite + asyncore."""
|
|
|
|
|
| import asyncore
|
| from tlslite.tlsconnection import TLSConnection
|
| -from asyncstatemachine import AsyncStateMachine
|
| +from .asyncstatemachine import AsyncStateMachine
|
|
|
|
|
| class TLSAsyncDispatcherMixIn(AsyncStateMachine):
|
| @@ -41,7 +47,7 @@ class TLSAsyncDispatcherMixIn(AsyncStateMachine):
|
| Add the following text into 'start_medusa.py', in the 'HTTP Server'
|
| section::
|
|
|
| - from tlslite.api import *
|
| + from tlslite import *
|
| s = open("./serverX509Cert.pem").read()
|
| x509 = X509()
|
| x509.parse(s)
|
|
|