aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/certutils.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-10-17 17:11:21 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-10-17 17:37:08 +1300
commitfb22f2ff4f75783ba786935c93b75f372ede21f5 (patch)
treea7055ebd090e11b163efa81b86086b7f88ca89e6 /netlib/certutils.py
parent666c59cbfbcbd28062c201c3cb5d6cb928e90aee (diff)
downloadmitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.tar.gz
mitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.tar.bz2
mitmproxy-fb22f2ff4f75783ba786935c93b75f372ede21f5.zip
Zap object base class
Diffstat (limited to 'netlib/certutils.py')
-rw-r--r--netlib/certutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/certutils.py b/netlib/certutils.py
index 23836cb5..6f834466 100644
--- a/netlib/certutils.py
+++ b/netlib/certutils.py
@@ -155,7 +155,7 @@ def dummy_cert(privkey, cacert, commonname, sans):
# return current.value
-class CertStoreEntry(object):
+class CertStoreEntry():
def __init__(self, cert, privatekey, chain_file):
self.cert = cert
@@ -163,7 +163,7 @@ class CertStoreEntry(object):
self.chain_file = chain_file
-class CertStore(object):
+class CertStore():
"""
Implements an in-memory certificate store.