mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-02 08:12:14 +02:00
With e.g. `CLOCK_BOOTTIME`, it's plausible that less than 1 second has passed since the boot reference time. Only assert that the returned time is nonzero (because all-bits-zero is highly implausible as an actual clock value, but likely indicates that the intended value was not copied out correctly). Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
1.9 KiB
1.9 KiB