aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathoc.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-03-02 15:13:56 +1300
committerAldo Cortesi <aldo@nullcube.com>2014-03-02 15:13:56 +1300
commit234d326080ac471ed5a92f08db458f29568f0dd4 (patch)
tree703698168c0f143f12fdf38aa68e73969772b358 /libpathod/pathoc.py
parent091e539a0203ca272e3a4ba2a9f23331bbd85005 (diff)
downloadmitmproxy-234d326080ac471ed5a92f08db458f29568f0dd4.tar.gz
mitmproxy-234d326080ac471ed5a92f08db458f29568f0dd4.tar.bz2
mitmproxy-234d326080ac471ed5a92f08db458f29568f0dd4.zip
Implement custom certs.
Diffstat (limited to 'libpathod/pathoc.py')
-rw-r--r--libpathod/pathoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/pathoc.py b/libpathod/pathoc.py
index 56708696..31180083 100644
--- a/libpathod/pathoc.py
+++ b/libpathod/pathoc.py
@@ -22,7 +22,7 @@ class Response:
class Pathoc(tcp.TCPClient):
- def __init__(self, address, ssl=None, sni=None, sslversion=1, clientcert=None, ciphers=None):
+ def __init__(self, address, ssl=None, sni=None, sslversion=4, clientcert=None, ciphers=None):
tcp.TCPClient.__init__(self, address)
self.settings = dict(
staticdir = os.getcwd(),