mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 05:42:20 +01:00
When generating the times for a generated certificate, calculate the time differences based on the seconds from epoch rather then converting back and forth between tm structures. One particular RTOS calculates the date change when generating a certificate on the first of the month. It leaves the certificate valid on the zeroth of the month.