mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-30 00:51:06 +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>