SCRIPTS: build-ssl: use QUICTLS_VERSION instead of QUICTLS=yes

Quictls has multiple versions and the CI are not able to test a specific
one because the script uses the default git branch.

This patch allows to checkout the right tag or branch.
This commit is contained in:
William Lallemand
2026-01-19 11:43:24 +01:00
parent bd8d70413e
commit b8e91f619a

View File

@@ -200,6 +200,7 @@ download_quictls () {
else
(
cd ${BUILDSSL_TMPDIR}/quictls
git checkout "${QUICTLS_VERSION}"
git pull
)
fi
@@ -287,7 +288,7 @@ if [ ! -z ${AWS_LC_FIPS_VERSION+x} ]; then
build_aws_lc_fips
fi
if [ ! -z ${QUICTLS+x} ]; then
if [ ! -z ${QUICTLS_VERSION+x} ]; then
download_quictls
build_quictls
fi