Skip to content

Commit

Permalink
Update mbedTLS to 2.26.0 (#1861)
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes authored Mar 19, 2021
1 parent be53734 commit 2b78ffa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/PAL/COM/sockets/ssl/mbedTLS/nf_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ extern "C"
#define MBEDTLS_AES_C
#define MBEDTLS_ARC4_C
#define MBEDTLS_ASN1_PARSE_C
#define MBEDTLS_ASN1_WRITE_C

#define MBEDTLS_BASE64_C

Expand All @@ -123,6 +124,7 @@ extern "C"
#define MBEDTLS_DES_C
#define MBEDTLS_DHM_C
#define MBEDTLS_ECDH_C
#define MBEDTLS_ECDSA_C

#define MBEDTLS_ECP_C

Expand Down
4 changes: 2 additions & 2 deletions targets/CMSIS-OS/ChibiOS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ if(NF_SECURITY_MBEDTLS)
endif()

# set tag for currently supported version
set(MBEDTLS_GIT_TAG "mbedtls-2.23.0")
set(MBEDTLS_GIT_TAG "mbedtls-2.26.0")

# set options for mbed TLS
option(ENABLE_TESTING "no testing when building mbed TLS." OFF)
Expand All @@ -220,7 +220,7 @@ if(NF_SECURITY_MBEDTLS)

FetchContent_Declare(
mbedtls
GIT_REPOSITORY https://github.com/nanoframework/mbedtls
GIT_REPOSITORY https://github.com/ARMmbed/mbedtls
GIT_TAG ${MBEDTLS_GIT_TAG}
)

Expand Down

0 comments on commit 2b78ffa

Please sign in to comment.