extmod/mbedtls: Enable certificate time/date validation by default.

All ports using this common configuration already enable time/date
validation, so this commit is a no-op change.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2023-12-01 13:43:52 +11:00
parent 20ffbe1a41
commit b5449b0f09
6 changed files with 2 additions and 18 deletions

View File

@@ -29,10 +29,6 @@
// 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