From d15e96dee1d6c3c752434663bf6ea8a547d09d28 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sat, 6 Jan 2018 10:43:33 +0100 Subject: 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. --- mitmproxy/certs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mitmproxy/certs.py') 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) -- cgit v1.2.3