diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-01-06 10:43:33 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-01-06 10:43:54 +0100 |
commit | d15e96dee1d6c3c752434663bf6ea8a547d09d28 (patch) | |
tree | 6d78fd9542ab5b6417a73f8ec2d7f937d12605d5 /mitmproxy/certs.py | |
parent | 9aae3213b9ebaa1ba1d23790fe4ccc5e03140cf4 (diff) | |
download | mitmproxy-d15e96dee1d6c3c752434663bf6ea8a547d09d28.tar.gz mitmproxy-d15e96dee1d6c3c752434663bf6ea8a547d09d28.tar.bz2 mitmproxy-d15e96dee1d6c3c752434663bf6ea8a547d09d28.zip |
rename TLS/SSL-related functions
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 function names.
Diffstat (limited to 'mitmproxy/certs.py')
-rw-r--r-- | mitmproxy/certs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/certs.py b/mitmproxy/certs.py index c29d67f3..594a33aa 100644 --- a/mitmproxy/certs.py +++ b/mitmproxy/certs.py @@ -436,7 +436,7 @@ class SSLCert(serializable.Serializable): Returns: All DNS altnames. """ - # tcp.TCPClient.convert_to_ssl assumes that this property only contains DNS altnames for hostname verification. + # tcp.TCPClient.convert_to_tls assumes that this property only contains DNS altnames for hostname verification. altnames = [] for i in range(self.x509.get_extension_count()): ext = self.x509.get_extension(i) |