mirror of
https://github.com/micropython/micropython.git
synced 2025-08-18 08:30:33 +02:00
unix/mbedtls: Enable mbedtls cert time validation.
To match other ports. Signed-off-by: Carlos Gil <carlosgilglez@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user