diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-05-10 11:39:55 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2018-05-10 11:40:33 +1200 |
commit | 9830e5b597ffbfae1781eb486c8cd8b0ba3c5dc7 (patch) | |
tree | 50e314493c7d17f01f4440f4798c5dc8bfd02be4 /mitmproxy/proxy | |
parent | 3438912236a25d7d3bcbff3238156b9eae2bc3d5 (diff) | |
download | mitmproxy-9830e5b597ffbfae1781eb486c8cd8b0ba3c5dc7.tar.gz mitmproxy-9830e5b597ffbfae1781eb486c8cd8b0ba3c5dc7.tar.bz2 mitmproxy-9830e5b597ffbfae1781eb486c8cd8b0ba3c5dc7.zip |
cadir -> confdir
We store a lot more than just the CAs in our configuration directory. Clarify
the option name.
Diffstat (limited to 'mitmproxy/proxy')
-rw-r--r-- | mitmproxy/proxy/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/proxy/config.py b/mitmproxy/proxy/config.py index 22823f4c..f32d3086 100644 --- a/mitmproxy/proxy/config.py +++ b/mitmproxy/proxy/config.py @@ -49,7 +49,7 @@ class ProxyConfig: if "tcp_hosts" in updated: self.check_tcp = HostMatcher(options.tcp_hosts) - certstore_path = os.path.expanduser(options.cadir) + certstore_path = os.path.expanduser(options.confdir) if not os.path.exists(os.path.dirname(certstore_path)): raise exceptions.OptionsError( "Certificate Authority parent directory does not exist: %s" % |