Skip to content

Commit

Permalink
add support for tlsv1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidDiao committed Jan 3, 2025
1 parent 3f5ed82 commit c1c266f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/build.alpine.release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
set -xe

apk add gcc g++ build-base linux-headers cmake make autoconf automake libtool python2 python3
apk add mbedtls-dev mbedtls-static zlib-dev rapidjson-dev zlib-static pcre2-dev
apk add zlib-dev rapidjson-dev zlib-static pcre2-dev

git clone https://github.com/curl/curl --depth=1 --branch curl-8_6_0
git clone https://github.com/Mbed-TLS/mbedtls --depth=1 --branch v3.6.2 --recurse-submodules --shallow-submodules
cd mbedtls
cmake -DENABLE_TESTING=Off -DUSE_SHARED_MBEDTLS_LIBRARY=Off .
make install -j2 > /dev/null
cd ..

git clone https://github.com/curl/curl --depth=1 --branch curl-8_11_1
cd curl
cmake -DCURL_USE_MBEDTLS=ON -DHTTP_ONLY=ON -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_USE_LIBSSH2=OFF -DBUILD_CURL_EXE=OFF . > /dev/null
make install -j2 > /dev/null
Expand Down

0 comments on commit c1c266f

Please sign in to comment.