lkml.org 
[lkml]   [2015]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/5] X.509: Fix time handling
From
Date

Here's a set of patches that fix X.509 time handling in three ways:

(1) Fix leap year handling.

(2) Add leap second handling (where you get a time of 23:59:60).

(3) Add end-of-day midnight encoding (where you get a time of 24:00:00).

David
---
David Howells (5):
X.509: Fix leap year handling again
Handle leap seconds in mktime64()
X.509: Support leap seconds
Handle both ISO 8601 encodings of midnight in mktime64()
X.509: Handle midnight alternative notation in GeneralizedTime


crypto/asymmetric_keys/x509_cert_parser.c | 24 +++++++++++++++++-------
include/linux/time.h | 13 ++++++-------
kernel/time/time.c | 19 +++++++++++++++----
3 files changed, 38 insertions(+), 18 deletions(-)



\
 
 \ /
  Last update: 2015-12-18 01:41    [W:0.066 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site