diff options
author | Rob Austein <sra@hactrn.net> | 2008-03-27 15:56:51 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-03-27 15:56:51 +0000 |
commit | e1e5eb6d4541d865b1fcda093c90da8ba93b537b (patch) | |
tree | 5c59aa957fe4a29f3cfabc62d363aeb2777f1a0a /rpkid/rpki/x509.py | |
parent | 5024ffbe382f0e279997fdf3f0e3d725d0fa9d50 (diff) |
Add revoked_cert table and rototill child_cert revocation code to use
it. Enable MySQLdb exceptions, whack resulting problem with MySQL
DATETIME object conversion repeatedly with a blunt object.
svn path=/docs/rpki-db-schema.pdf; revision=1564
Diffstat (limited to 'rpkid/rpki/x509.py')
-rw-r--r-- | rpkid/rpki/x509.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/x509.py b/rpkid/rpki/x509.py index 70e79ba6..a2e81a67 100644 --- a/rpkid/rpki/x509.py +++ b/rpkid/rpki/x509.py @@ -286,7 +286,7 @@ class X509(DER_object): cn = None, resources = None, is_ca = True): """Issue a certificate.""" - now = rpki.sundial.datetime.utcnow() + now = rpki.sundial.now() aki = self.get_SKI() ski = subject_key.get_SKI() |