diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-01-06 10:50:26 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-01-07 19:55:04 +0100 |
commit | 4fb894cad4cf1c1d4a89eef8af35d4523a198f28 (patch) | |
tree | a78dfb5fcfd29e54a06b47bb29b51cfc0ca9b4dd /pathod | |
parent | d15e96dee1d6c3c752434663bf6ea8a547d09d28 (diff) | |
download | mitmproxy-4fb894cad4cf1c1d4a89eef8af35d4523a198f28.tar.gz mitmproxy-4fb894cad4cf1c1d4a89eef8af35d4523a198f28.tar.bz2 mitmproxy-4fb894cad4cf1c1d4a89eef8af35d4523a198f28.zip |
avoid TLS/SSL ambiguity for Cert class
Diffstat (limited to 'pathod')
-rw-r--r-- | pathod/pathoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/pathoc.py b/pathod/pathoc.py index 39a25b43..b177d556 100644 --- a/pathod/pathoc.py +++ b/pathod/pathoc.py @@ -79,7 +79,7 @@ class SSLInfo: } t = types.get(pk.type(), "Uknown") parts.append("\tPubkey: %s bit %s" % (pk.bits(), t)) - s = certs.SSLCert(i) + s = certs.Cert(i) if s.altnames: parts.append("\tSANs: %s" % " ".join(strutils.always_str(n, "utf8") for n in s.altnames)) return "\n".join(parts) |