Skip to content

Commit 357133b

Browse files
committed
Update OpenSSL download location
In rustbuild itself we download from our mirror but in the containers we don't do this yet. The OpenSSL download url changes from time to time (it breaks when they release a new version) so let's download from our mirror instead.
1 parent deb90c3 commit 357133b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/ci/docker/dist-i686-linux/build-openssl.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
set -ex
1313
source shared.sh
1414

15-
VERSION=1.0.2j
15+
VERSION=1.0.2k
16+
URL=https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/openssl-$VERSION.tar.gz
1617

17-
curl https://www.openssl.org/source/openssl-$VERSION.tar.gz | tar xzf -
18+
curl $URL | tar xzf -
1819

1920
cd openssl-$VERSION
2021
hide_output ./config --prefix=/rustroot shared -fPIC

src/ci/docker/dist-x86_64-linux/build-openssl.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
set -ex
1313
source shared.sh
1414

15-
VERSION=1.0.2j
15+
VERSION=1.0.2k
16+
URL=https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/openssl-$VERSION.tar.gz
1617

17-
curl https://www.openssl.org/source/openssl-$VERSION.tar.gz | tar xzf -
18+
curl $URL | tar xzf -
1819

1920
cd openssl-$VERSION
2021
hide_output ./config --prefix=/rustroot shared -fPIC

0 commit comments

Comments
 (0)