diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-20 10:22:23 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-20 10:22:23 +1300 |
commit | 1ecb25cdc10116c5341dc1024581365bec328b4e (patch) | |
tree | 47c7d18aaeca5453182f837ff326e113344c36d7 /netlib/certutils.py | |
parent | f45f4e677e8cddba8160d1e4e02ca8a4515e3456 (diff) | |
download | mitmproxy-1ecb25cdc10116c5341dc1024581365bec328b4e.tar.gz mitmproxy-1ecb25cdc10116c5341dc1024581365bec328b4e.tar.bz2 mitmproxy-1ecb25cdc10116c5341dc1024581365bec328b4e.zip |
mitmproxy.types.[basethread,multidict,serializable]
Diffstat (limited to 'netlib/certutils.py')
-rw-r--r-- | netlib/certutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/certutils.py b/netlib/certutils.py index 6a97f99e..9cb8a40e 100644 --- a/netlib/certutils.py +++ b/netlib/certutils.py @@ -10,7 +10,7 @@ from pyasn1.codec.der.decoder import decode from pyasn1.error import PyAsn1Error import OpenSSL -from netlib import basetypes +from mitmproxy.types import serializable # Default expiry must not be too long: https://github.com/mitmproxy/mitmproxy/issues/815 @@ -373,7 +373,7 @@ class _GeneralNames(univ.SequenceOf): constraint.ValueSizeConstraint(1, 1024) -class SSLCert(basetypes.Serializable): +class SSLCert(serializable.Serializable): def __init__(self, cert): """ |