File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 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
1111PREFIX=$1
1212if [[ -z $PREFIX ]]; then
1313 echo " Usage: $0 <installation-prefix>"
14+ exit 1
1415fi
1516
1617set -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 -
2829else
2930 echo " Reusing existing build-openssl directory"
3031 pushd build-openssl
3132fi
3233
33- ./config --prefix=${PREFIX} zlib no-krb5 zlib shared
34+ ./config --prefix=${PREFIX} zlib shared no-deprecated
3435echo " ## building openssl"
3536if ! make -j 2>&1 | tail -20 ; then
3637 echo " ## Make failed, cleaning up and retrying"
You can’t perform that action at this time.
0 commit comments