diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-09-09 10:08:56 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-09-09 10:08:56 +1200 |
commit | 63c1efd3946ce672640b43b005d12f8f117d670a (patch) | |
tree | 040b14b43d8286a766e96e624a0114decb91d377 /test/test_tcp.py | |
parent | 07990fdcc231f28c7ce3b3486cf7b423f77dcc67 (diff) | |
download | mitmproxy-63c1efd3946ce672640b43b005d12f8f117d670a.tar.gz mitmproxy-63c1efd3946ce672640b43b005d12f8f117d670a.tar.bz2 mitmproxy-63c1efd3946ce672640b43b005d12f8f117d670a.zip |
Remove avoidable imports from OpenSSL
Fixes #38
Diffstat (limited to 'test/test_tcp.py')
-rw-r--r-- | test/test_tcp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_tcp.py b/test/test_tcp.py index bf681811..78278909 100644 --- a/test/test_tcp.py +++ b/test/test_tcp.py @@ -123,7 +123,7 @@ class TestServerSSL(test.ServerTestBase): def test_echo(self): c = tcp.TCPClient(("127.0.0.1", self.port)) c.connect() - c.convert_to_ssl(sni="foo.com", options=tcp.OP_ALL) + c.convert_to_ssl(sni="foo.com", options=SSL.OP_ALL) testval = "echo!\n" c.wfile.write(testval) c.wfile.flush() |