summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-03-01 15:42:11 +0100
committerMatěj Cepl <mcepl@cepl.eu>2018-03-13 12:21:26 +0000
commit460189f9d50576095be0bcd924d990285a8d5834 (patch)
tree732b42ffb7eeb22f3a7c04325b2f08e0aa0c5b4f /contrib
parentf8f3969ed6467e5dd9f7c6d4e33dee49f4a00d9f (diff)
downloadm2crypto-460189f9d50576095be0bcd924d990285a8d5834.tar.gz
Replace all old-style classes with the new ones
Diffstat (limited to 'contrib')
-rw-r--r--contrib/SimpleX509create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/SimpleX509create.py b/contrib/SimpleX509create.py
index 70cfa27..84fe242 100644
--- a/contrib/SimpleX509create.py
+++ b/contrib/SimpleX509create.py
@@ -14,7 +14,7 @@ MBSTRING_ASC = MBSTRING_FLAG | 1
MBSTRING_BMP = MBSTRING_FLAG | 2
-class Cert:
+class Cert(object):
def __init__ ( self ):
self.RsaKey = { 'KeyLength' : 1024,
'PubExponent' : 0x10001, # -> 65537