Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 77f6ea9

Browse files
authored
Fix broken download of openssl-1.0.2t.tar.gz (#460)
1 parent cd77dc5 commit 77f6ea9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/installCommonDeps.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,13 @@ install_openssl(){
149149
$INCR_INSTALL && [[ ! -z $LIST_LIBS ]] && echo "openssl already installed." && return 0
150150

151151
if [ -d $LIB_DIR ]; then
152+
local SSL_BASE_VERSION="1.0.2"
152153
local SSL_VERSION="1.0.2t"
153154
cd $LIB_DIR
154155
rm -f ./build/lib/libssl.*
155156
rm -f ./build/lib/libcrypto.*
156157
rm -rf openssl-1*
157-
wget -c http://www.openssl.org/source/openssl-${SSL_VERSION}.tar.gz
158+
wget -c http://www.openssl.org/source/old/${SSL_BASE_VERSION}/openssl-${SSL_VERSION}.tar.gz
158159
tar xf openssl-${SSL_VERSION}.tar.gz
159160
cd openssl-${SSL_VERSION}
160161
./config no-ssl3 --prefix=$PREFIX_DIR -fPIC

0 commit comments

Comments
 (0)