diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-10-09 00:15:39 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-10-09 00:15:39 +0200 |
commit | 9ef84ccc1cdd0d8da890ba012812c760e31f2fab (patch) | |
tree | f92e7219ceed5397be90f1a1659b5be15f1c8ec2 /test/test_tcp.py | |
parent | fdb6f5552d43d7ab02320ccd7e6d58750e33c4c4 (diff) | |
download | mitmproxy-9ef84ccc1cdd0d8da890ba012812c760e31f2fab.tar.gz mitmproxy-9ef84ccc1cdd0d8da890ba012812c760e31f2fab.tar.bz2 mitmproxy-9ef84ccc1cdd0d8da890ba012812c760e31f2fab.zip |
clean up code
Diffstat (limited to 'test/test_tcp.py')
-rw-r--r-- | test/test_tcp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_tcp.py b/test/test_tcp.py index 0eadac47..bf3d46bf 100644 --- a/test/test_tcp.py +++ b/test/test_tcp.py @@ -410,8 +410,8 @@ class TestPrivkeyGenNoFlags(test.ServerTestBase): ca1 = certutils.CertStore.from_store(d, "test2") ca2 = certutils.CertStore.from_store(d, "test3") cert, _, _ = ca1.get_cert("foo.com", []) - certffi.set_flags(ca2.default_pkey, 0) - self.convert_to_ssl(cert, ca2.default_pkey) + certffi.set_flags(ca2.default_privatekey, 0) + self.convert_to_ssl(cert, ca2.default_privatekey) def test_privkey(self): c = tcp.TCPClient(("127.0.0.1", self.port)) |