diff options
author | Rob Austein <sra@hactrn.net> | 2010-09-15 22:06:49 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-09-15 22:06:49 +0000 |
commit | 46f13adda8ac616fa45410dc2e28a2dcc006e973 (patch) | |
tree | b6d9ead2d5d97c5eeb47e19d376b4157e66c372c /rpkid/rpki/x509.py | |
parent | 82a4bb2af4a5ee7f19b096c81ad02e8148c97874 (diff) |
Convert interface between Python and OpenSSL to use GeneralizedTime
syntax for both GeneralizedTime and UTCTime: bad enough that the ASN.1
code has to know about Y2050 madness, there's no sane reason why
application code should need to know.
svn path=/pow/POW-0.7/POW.c; revision=3448
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 317ef334..07b127b1 100644 --- a/rpkid/rpki/x509.py +++ b/rpkid/rpki/x509.py @@ -847,7 +847,7 @@ class CMS_object(DER_object): """ Extract signingTime from CMS signed attributes. """ - return rpki.sundial.datetime.fromUTCTime(self.get_POW().signingTime()) + return rpki.sundial.datetime.fromGeneralizedTime(self.get_POW().signingTime()) def verify(self, ta): """ |