summaryrefslogtreecommitdiff
path: root/contrib/SimpleX509create.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/SimpleX509create.py')
-rw-r--r--contrib/SimpleX509create.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/SimpleX509create.py b/contrib/SimpleX509create.py
index 6c6d007..70cfa27 100644
--- a/contrib/SimpleX509create.py
+++ b/contrib/SimpleX509create.py
@@ -96,7 +96,7 @@ class Cert:
# time notBefore
#
- ASN1 = M2Crypto.ASN1.ASN1_UTCTIME ()
+ ASN1 = M2Crypto.ASN1.ASN1_TIME ()
ASN1.set_time ( 500 )
self.X509Certificate.set_not_before( ASN1 )
@@ -104,7 +104,7 @@ class Cert:
# time notAfter
#
- ASN1 = M2Crypto.ASN1.ASN1_UTCTIME ()
+ ASN1 = M2Crypto.ASN1.ASN1_TIME ()
ASN1.set_time ( 500 )
self.X509Certificate.set_not_after( ASN1 )