8000 ports/unix: Enable mbedtls cert time validation. by Carglglz · Pull Request #13099 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

ports/unix: Enable mbedtls cert time validation. #13099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions extmod/mbedtls/mbedtls_config_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
// #define MBEDTLS_DEBUG_C

// Set mbedtls configuration.
#define MBEDTLS_HAVE_TIME
#define MBEDTLS_HAVE_TIME_DATE
#define MBEDTLS_DEPRECATED_REMOVED
#define MBEDTLS_AES_ROM_TABLES
#define MBEDTLS_CIPHER_MODE_CBC
Expand Down
4 changes: 0 additions & 4 deletions ports/mimxrt/mbedtls/mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 mimxrt_rtctime_seconds(time_t *timer);
Expand Down
4 changes: 0 additions & 4 deletions ports/renesas-ra/mbedtls/mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions ports/rp2/mbedtls/mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@

// Enable mbedtls modules
#define MBEDTLS_GCM_C
#define MBEDTLS_HAVE_TIME
#define MBEDTLS_HAVE_TIME_DATE

// Time hook
#include <time.h>
Expand Down
4 changes: 0 additions & 4 deletions ports/stm32/mbedtls/mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 stm32_rtctime_seconds(time_t *timer);
Expand Down
0