Re: [RFC PATCH 4/4] X.509: Handle midnight alternative notation in GeneralizedTime

From: David Howells
Date: Wed Jan 20 2016 - 10:20:09 EST


Rudolf Polzer <rpolzer@xxxxxxxxxx> 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:-/

David