From 818b32addc5c9dacd4dc416fb42929fca56e0737 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Mon, 19 Jan 2026 13:41:17 +0100 Subject: [PATCH] SCRIPTS: build-ssl: clone the quictls branch directly Allow to clone the quictls branch directly using the value from QUICTLS_VERSION. --- scripts/build-ssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-ssl.sh b/scripts/build-ssl.sh index f98441b6e..2fc00a24d 100755 --- a/scripts/build-ssl.sh +++ b/scripts/build-ssl.sh @@ -196,11 +196,11 @@ build_aws_lc_fips () { download_quictls () { if [ ! -d "${BUILDSSL_TMPDIR}/quictls" ]; then - git clone --depth=1 ${QUICTLS_URL} ${BUILDSSL_TMPDIR}/quictls + git clone -b "${QUICTLS_VERSION}" --depth=1 ${QUICTLS_URL} ${BUILDSSL_TMPDIR}/quictls else ( cd ${BUILDSSL_TMPDIR}/quictls - git checkout "${QUICTLS_VERSION}" + git checkout "${QUICTLS_VERSION}" || exit 1 git pull ) fi