Skip to content

Commit

Permalink
[mbedtls] enable MBEDTLS_OID_C when MBEDTLS_PK_PARSE_C is enabled (op…
Browse files Browse the repository at this point in the history
…enthread#10332)

This commit fixes mbedTLS config where MBEDTLS_OID_C is not set
together with MBEDTLS_PK_PARSE_C in some OpenThread configurations.

Signed-off-by: Łukasz Duda <[email protected]>
  • Loading branch information
LuDuda authored Jun 4, 2024
1 parent b4ec4ce commit 70bad1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions third_party/mbedtls/mbedtls-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
#define MBEDTLS_MD_C
#define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES
#define MBEDTLS_NO_PLATFORM_ENTROPY
#define MBEDTLS_OID_C
#define MBEDTLS_PK_C
#define MBEDTLS_PK_PARSE_C
#define MBEDTLS_PLATFORM_C
Expand Down Expand Up @@ -109,7 +110,6 @@
#define MBEDTLS_BASE64_C
#define MBEDTLS_ECDH_C
#define MBEDTLS_ECDSA_C
#define MBEDTLS_OID_C
#define MBEDTLS_PEM_PARSE_C
#define MBEDTLS_X509_USE_C
#define MBEDTLS_X509_CRT_PARSE_C
Expand All @@ -122,7 +122,6 @@
#if OPENTHREAD_CONFIG_DETERMINISTIC_ECDSA_ENABLE
#define MBEDTLS_ECDSA_DETERMINISTIC
#endif
#define MBEDTLS_OID_C
#define MBEDTLS_PEM_PARSE_C
#define MBEDTLS_PK_WRITE_C
#endif
Expand Down

0 comments on commit 70bad1d

Please sign in to comment.