wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

Introducing wc_time_t to override time_t

Open danielinux opened this issue 1 year ago • 0 comments

[Work in progress] :factory_worker:

Description

On some systems time_t is a 32bit signed int, triggering the y2038 issue.

It's possible now to override time_t explicitly using a signed 64bit field, by defining TIME_T_OVERRIDE

Fixes y2038 bug in systems with a broken time_t

Testing

Just via make check for now, with the option on.

Checklist

  • [ ] added tests
  • [ ] updated/added doxygen
  • [ ] updated appropriate READMEs
  • [ ] Updated manual and documentation

danielinux avatar Jan 24 '24 13:01 danielinux