GNOME Bugzilla – Bug 787963
year 2038 workaround is of by 1900
Last modified: 2019-02-22 11:59:15 UTC
Created attachment 360159 [details] [review] fix 2038 workaround egg/egg-asn1x.c check tm_year of struct tm to be below 2038 instead of below (2038 - 1900), ie 138. My system have certificates which expires after 2038. ** (gcr-viewer:10007): CRITICAL **: anode_read_time: assertion '*value >= 0' failed or ** (seahorse:11189): CRITICAL **: anode_read_time: assertion '*value >= 0' failed (seahorse:11189): Gcr-WARNING **: a derived class provided an invalid or unparseable X.509 DER certificate data. This only affects linux 32 bits systems (where timegm returned time_t is 32 bits). Here ARM a box.
Review of attachment 360159 [details] [review]: This looks correct; thank you for the patch!