Skip to content

Commit aa04e13

Browse files
committed
Update mbedtls to 3.6.0
1 parent 336ca54 commit aa04e13

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

Diff for: scripts/mbedtls/download.sh

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
#!/usr/bin/env bash
22

3-
source ${SCRIPTS_DIR}/common-functions.sh
3+
MBEDTLS_VERSION=v3.6.0
44

5-
export MBEDTLS_VERSION=3.5.2
6-
downloadTarArchive \
7-
"mbedtls" \
8-
"https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${MBEDTLS_VERSION}.tar.gz" \
9-
true
5+
git clone \
6+
--depth 1 \
7+
--branch $MBEDTLS_VERSION \
8+
--recursive \
9+
https://github.com/Mbed-TLS/mbedtls.git \
10+
$MBEDTLS_VERSION
11+
12+
LIBRARY_NAME=mbedtls
13+
export SOURCES_DIR_${LIBRARY_NAME}=$(pwd)/${MBEDTLS_VERSION}

0 commit comments

Comments
 (0)