Skip to content

Commit 2d0374d

Browse files
committed
OpenSSL version bump to v1.1.1h
1 parent baee8a6 commit 2d0374d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/build-openssl.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66

77
# NOTE: Keep this updated to make sure we always build the latest
88
# version of OpenSSL in the 1.0 release train.
9-
OPENSSL_VERSION=1.0.2u
9+
OPENSSL_VERSION=1.1.1h
1010

1111
PREFIX=$1
1212
if [[ -z $PREFIX ]]; then
1313
echo "Usage: $0 <installation-prefix>"
14+
exit 1
1415
fi
1516

1617
set -ex
@@ -23,14 +24,14 @@ if ! grep -q "^VERSION=${OPENSSL_VERSION}$" build-openssl/Makefile ; then
2324
rm -rf build-openssl
2425
mkdir -p build-openssl
2526
pushd build-openssl
26-
curl -fL https://www.openssl.org/source/old/1.0.2/openssl-${OPENSSL_VERSION}.tar.gz | \
27+
curl -fL https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz | \
2728
tar -xz --strip-components=1 -f -
2829
else
2930
echo "Reusing existing build-openssl directory"
3031
pushd build-openssl
3132
fi
3233

33-
./config --prefix=${PREFIX} zlib no-krb5 zlib shared
34+
./config --prefix=${PREFIX} zlib shared no-deprecated
3435
echo "## building openssl"
3536
if ! make -j 2>&1 | tail -20 ; then
3637
echo "## Make failed, cleaning up and retrying"

0 commit comments

Comments
 (0)