mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
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:
@@ -26,10 +26,6 @@
|
||||
#ifndef MICROPY_INCLUDED_MBEDTLS_CONFIG_H
|
||||
#define MICROPY_INCLUDED_MBEDTLS_CONFIG_H
|
||||
|
||||
// Enable mbedtls modules.
|
||||
#define MBEDTLS_HAVE_TIME
|
||||
#define MBEDTLS_HAVE_TIME_DATE
|
||||
|
||||
// Time hook.
|
||||
#include <time.h>
|
||||
extern time_t ra_rtctime_seconds(time_t *timer);
|
||||
|
||||
Reference in New Issue
Block a user