diff options
author | Shadab Zafar <dufferzafar0@gmail.com> | 2016-06-16 18:16:51 +0530 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-06-16 17:08:06 -0700 |
commit | aa3d3290eeb1d79d8799f557f785fb559010fb52 (patch) | |
tree | fa18aa45d0edd13f703b620048b098faebd5b61a /pathod/protocols | |
parent | cd5ef042bbbe3155efd29a749a7aefa52728f98e (diff) | |
download | mitmproxy-aa3d3290eeb1d79d8799f557f785fb559010fb52.tar.gz mitmproxy-aa3d3290eeb1d79d8799f557f785fb559010fb52.tar.bz2 mitmproxy-aa3d3290eeb1d79d8799f557f785fb559010fb52.zip |
Py3: Send bytes to get_cert
Diffstat (limited to 'pathod/protocols')
-rw-r--r-- | pathod/protocols/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/protocols/http.py b/pathod/protocols/http.py index 9756c266..2ede2591 100644 --- a/pathod/protocols/http.py +++ b/pathod/protocols/http.py @@ -25,7 +25,7 @@ class HTTPProtocol(object): if not self.pathod_handler.server.ssloptions.not_after_connect: try: cert, key, chain_file_ = self.pathod_handler.server.ssloptions.get_cert( - connect[0] + connect[0].encode() ) self.pathod_handler.convert_to_ssl( cert, |