]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: add possibility to use different QuicTLS variants
authorIlia Shipitsin <chipitsine@gmail.com>
Tue, 25 Feb 2025 06:53:34 +0000 (07:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 25 Feb 2025 09:29:46 +0000 (10:29 +0100)
initially QuicTLS started as a patchset on top of OpenSSL,
currently project has started its own journey as QuicTLS

somehow we need both

ML: https://www.mail-archive.com/haproxy@formilux.org/msg45574.html
GH: https://github.com/quictls/quictls/issues/244

scripts/build-ssl.sh

index 92b9af3a404fc303861177641b8c543b06236d20..e072f268eeb77fe3a02f40f05b93847610e378c6 100755 (executable)
@@ -3,6 +3,7 @@ set -eux
 
 BUILDSSL_DESTDIR=${BUILDSSL_DESTDIR:-${HOME}/opt}
 BUILDSSL_TMPDIR=${BUILDSSL_TMPDIR:-/tmp/download-cache}
+QUICTLS_URL=${QUICTLS_URL:-https://github.com/quictls/openssl}
 
 WOLFSSL_DEBUG=${WOLFSSL_DEBUG:-0}
 
@@ -178,7 +179,7 @@ build_aws_lc_fips () {
 
 download_quictls () {
     if [ ! -d "${BUILDSSL_TMPDIR}/quictls" ]; then
-        git clone --depth=1 https://github.com/quictls/openssl ${BUILDSSL_TMPDIR}/quictls
+        git clone --depth=1 ${QUICTLS_URL} ${BUILDSSL_TMPDIR}/quictls
     else
        (
         cd ${BUILDSSL_TMPDIR}/quictls