Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1301148

[PATCH 0/4] X.509: Fix time handling

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 0/4] X.509: Fix time handling
Date 2016-01-04 23:20 +0100
Message-ID <qNlDP-14y-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 (4):
      X.509: Fix leap year handling again
      Handle ISO 8601 leap seconds and encodings of midnight in mktime64()
      X.509: Support leap seconds
      X.509: Handle midnight alternative notation in GeneralizedTime


 crypto/asymmetric_keys/x509_cert_parser.c |   12 ++++++------
 kernel/time/time.c                        |    9 ++++++++-
 2 files changed, 14 insertions(+), 7 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] X.509: Fix time handling David Howells <dhowells@redhat.com> - 2016-01-04 23:20 +0100
  [RFC PATCH 1/4] X.509: Fix leap year handling again David Howells <dhowells@redhat.com> - 2016-01-04 23:20 +0100
  [RFC PATCH 3/4] X.509: Support leap seconds David Howells <dhowells@redhat.com> - 2016-01-04 23:20 +0100
  [RFC PATCH 2/4] Handle ISO 8601 leap seconds and encodings of  midnight in mktime64() David Howells <dhowells@redhat.com> - 2016-01-04 23:20 +0100

csiph-web