From 22df79bb3ba3a5ecce964df223288e99f39e5a12 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 1 Apr 2020 14:40:19 +0200 Subject: [PATCH] Fetch OpenSSL versions via source/old links New versions are already available as source/old but old version at some point disappear from the normal download path. Use the source/old path for all OpenSSL versions to avoid this problem. Signed-off-by: Arne Schwabe Acked-by: Lev Stipakov Message-Id: <20200401124019.10529-1-arne@rfc2549.org> URL: https://www.mail-archive.com/search?l=mid&q=20200401124019.10529-1-arne@rfc2549.org Signed-off-by: Gert Doering (cherry picked from commit 3e0e169254427c4fdcd667e23b110fb939f9fbde) --- .travis/build-deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis/build-deps.sh b/.travis/build-deps.sh index 391b35ef7..b3f3995c8 100755 --- a/.travis/build-deps.sh +++ b/.travis/build-deps.sh @@ -78,8 +78,9 @@ build_mbedtls () { download_openssl () { if [ ! -f "download-cache/openssl-${OPENSSL_VERSION}.tar.gz" ]; then + MAJOR=`echo $OPENSSL_VERSION | sed -e 's/\([0-9.]*\).*/\1/'` wget -P download-cache/ \ - "https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz" + "https://www.openssl.org/source/old/${MAJOR}/openssl-${OPENSSL_VERSION}.tar.gz" fi } -- 2.47.2