aboutsummaryrefslogtreecommitdiffstats
path: root/pathod
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2018-01-05 22:46:23 +0100
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2018-01-06 10:43:47 +0100
commit9aae3213b9ebaa1ba1d23790fe4ccc5e03140cf4 (patch)
tree379958ce0ade47f6c706c1b9d83dd179d2bb08c9 /pathod
parent1c769b0991d92abd56a098eb869d414f5fa6b5d9 (diff)
downloadmitmproxy-9aae3213b9ebaa1ba1d23790fe4ccc5e03140cf4.tar.gz
mitmproxy-9aae3213b9ebaa1ba1d23790fe4ccc5e03140cf4.tar.bz2
mitmproxy-9aae3213b9ebaa1ba1d23790fe4ccc5e03140cf4.zip
rename TLS/SSL-related attributes
SSL is an outdated protocol superseeded by TLS. Although the commonly used library is called OpenSSL, it is no reason to still use outdated language for attributes.
Diffstat (limited to 'pathod')
-rw-r--r--pathod/pathod.py2
-rw-r--r--pathod/protocols/websockets.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pathod/pathod.py b/pathod/pathod.py
index f8e64f9e..8abeaf41 100644
--- a/pathod/pathod.py
+++ b/pathod/pathod.py
@@ -170,7 +170,7 @@ class PathodHandler(tcp.BaseHandler):
),
cipher=None,
)
- if self.ssl_established:
+ if self.tls_established:
retlog["cipher"] = self.get_current_cipher()
m = utils.MemBool()
diff --git a/pathod/protocols/websockets.py b/pathod/protocols/websockets.py
index 2d1f1bf6..63e6ee0b 100644
--- a/pathod/protocols/websockets.py
+++ b/pathod/protocols/websockets.py
@@ -30,7 +30,7 @@ class WebsocketsProtocol:
),
cipher=None,
)
- if self.pathod_handler.ssl_established:
+ if self.pathod_handler.tls_established:
retlog["cipher"] = self.pathod_handler.get_current_cipher()
self.pathod_handler.addlog(retlog)
ld = language.websockets.NESTED_LEADER