Summary: GSTLS certificate expiration test always fails on
Submitted by: yavor
Submitted on: Thu 11 Jun 2020 08:07:00 PM EEST
Severity: 3 - Normal
Item Group: Bug
Assigned to: None
Discussion Lock: Any
As far as I understand this you mean that this test is bound to fail on some
32bit systems as the expiration date of the certificate in 2118 can not be
represented on that systems. This is due to time_t being 32 bits on some
systems. As this is not true on all 32 bit system I would prefer to just mark
this test as hopeful. This should have similar results as your change.
In practice, I don't see testing this on 32bit systems as a priority. If the
tests pass on 64bit systems then the code is very unlikely to have been broken
(and now that the world has moved to 64bit, it doesn't seem important to have
a specific test for 32bit systems).