Skip to content

Commit

Permalink
Upgrading openssl from 1.0.1m to 1.0.2u
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Kim committed Jul 16, 2021
1 parent 1ed99e3 commit 8635bd4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ silence() {
fi
}

LIB_OPENSSL="https://ftp.openssl.org/source/old/1.0.1/openssl-1.0.1m.tar.gz"
LIB_OPENSSL="https://ftp.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz"
LIB_BOOST="http://sourceforge.net/projects/boost/files/boost/1.61.0/boost_1_61_0.tar.gz"
LIB_ZLIB="https://zlib.net/fossils/zlib-1.2.11.tar.gz"
LIB_PROTOBUF="https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/protobuf-all-3.11.4.tar.gz"
Expand Down Expand Up @@ -109,12 +109,12 @@ function conf {
}

# OpenSSL
if [ ! -d "openssl-1.0.1m" ]; then
if [ ! -d "openssl-1.0.2u" ]; then
_curl "$LIB_OPENSSL" > openssl.tgz
tar xf openssl.tgz
rm openssl.tgz

cd openssl-1.0.1m
cd openssl-1.0.2u

# Have to leave MD4 enabled because curl expects it
OPTS="threads no-shared no-idea no-camellia no-seed no-bf no-cast no-rc2 no-rc4 no-rc5 no-md2 no-ripemd no-mdc2 no-ssl2 no-ssl3 no-krb5 no-jpake no-capieng no-dso"
Expand All @@ -128,6 +128,7 @@ if [ ! -d "openssl-1.0.1m" ]; then
silence ./config $OPTS --prefix=$INSTALL_DIR
fi

silence make depend
silence make # don't use -j, doesn't work half the time
silence make install

Expand Down

0 comments on commit 8635bd4

Please sign in to comment.