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