]> granicus.if.org Git - p11-kit/commit
Don't respect timezones for CKA_START_DATE or CKA_END_DATE
authorStef Walter <stefw@gnome.org>
Fri, 29 Mar 2013 12:17:29 +0000 (13:17 +0100)
committerStef Walter <stefw@gnome.org>
Wed, 3 Apr 2013 13:45:38 +0000 (15:45 +0200)
commit8c69e467527c5ee484c9a921e9b5fd18c0c49b12
treee4a847854881cd70a4234761ee96062456810e97
parent91aa0f9623e232fa253308c4f7464dab8902dfea
Don't respect timezones for CKA_START_DATE or CKA_END_DATE

The PKCS#11 specification does not note what timezone these dates
are in. In addition the time values are not represented in PKCS#11.

So don't reinterpret certificate dates, other than filling in the
century for dates that have a two digit year.

Lastly, these are low resolution optional fields so not being all
strict about timezones here is appropriate.

https://bugs.freedesktop.org/show_bug.cgi?id=62825
common/asn1.c
common/asn1.h
trust/builder.c
trust/tests/test-builder.c