lkml.org 
[lkml]   [2016]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 4/4] X.509: Handle midnight alternative notation in GeneralizedTime
Date
One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> wrote:

> > > As for 24:xx:yy times - I'm split about this. This code doesn't
> > > require a bijective decoding anyway (and if it did, 24:00:00 and
> > > 00:00:00 mapping to the same time64_t would be problem enough) so this
> > > is sure safe. On the other hand, a cert with a 24:xx:yy time that's
> > > not 24:00:00 probably should be regarded as invalid and not trusted
> > > for that reason alone.
> >
> > Feel free to argue that one with Linus:-/
>
> Pedantic hat on 24:00:01 is also potentially valid. The ANSI and ISO
> standards allow for double leap seconds even though CCIR-460 doesn't
> allow it to actually happen.

Did you mean 24:00:01 or 23:59:61?

David

\
 
 \ /
  Last update: 2016-02-03 18:21    [W:0.055 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site