diff options
Diffstat (limited to 'mitmproxy/certs.py')
-rw-r--r-- | mitmproxy/certs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/certs.py b/mitmproxy/certs.py index 6487b750..9a864cbc 100644 --- a/mitmproxy/certs.py +++ b/mitmproxy/certs.py @@ -145,7 +145,7 @@ class CertStore: self.default_ca = default_ca self.default_chain_file = default_chain_file self.dhparams = dhparams - self.certs = {} # type: typing.Dict[TCertId, CertStoreEntry] + self.certs: typing.Dict[TCertId, CertStoreEntry] = {} self.expire_queue = [] def expire(self, entry): @@ -298,7 +298,7 @@ class CertStore: sans: A list of Subject Alternate Names. """ - potential_keys = [] # type: typing.List[TCertId] + potential_keys: typing.List[TCertId] = [] if commonname: potential_keys.extend(self.asterisk_forms(commonname)) for s in sans: |