unix/mbedtls: Enable mbedtls cert time validation.

To match other ports.

Signed-off-by: Carlos Gil <carlosgilglez@gmail.com>
This commit is contained in:
Carlosgg 2023-11-30 18:25:44 +00:00 committed by Damien George
parent ad806df857
commit 20ffbe1a41
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@
// Set mbedtls configuration
#define MBEDTLS_CIPHER_MODE_CTR // needed for MICROPY_PY_CRYPTOLIB_CTR
// Cert time validation
#define MBEDTLS_HAVE_TIME
#define MBEDTLS_HAVE_TIME_DATE
// Enable mbedtls modules
#define MBEDTLS_HAVEGE_C
#define MBEDTLS_TIMING_C