diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-03-02 16:59:16 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-03-02 16:59:16 +1300 |
commit | 415844511c19b17743b42a5833590d1d683427d2 (patch) | |
tree | e8916fea1551c44809d01c3d61a8caf7c1072f28 /libmproxy/proxy.py | |
parent | 09c73019c562eeb9dd4297b481c11d8078c888ff (diff) | |
download | mitmproxy-415844511c19b17743b42a5833590d1d683427d2.tar.gz mitmproxy-415844511c19b17743b42a5833590d1d683427d2.tar.bz2 mitmproxy-415844511c19b17743b42a5833590d1d683427d2.zip |
Test cert generation errors.
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r-- | libmproxy/proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index 964c15a9..a6a72d55 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -306,7 +306,7 @@ class ProxyHandler(tcp.BaseHandler): host = conn.cert.cn.decode("utf8").encode("idna") ret = self.config.certstore.get_cert(host, sans, self.config.cacert) if not ret: - raise ProxyError(502, "mitmproxy: Unable to generate dummy cert.") + raise ProxyError(502, "Unable to generate dummy cert.") return ret def get_line(self, fp): |