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 6
6
7
7
# NOTE: Keep this updated to make sure we always build the latest
8
8
# version of OpenSSL in the 1.0 release train.
9
- OPENSSL_VERSION=1.0.2u
9
+ OPENSSL_VERSION=1.1.1h
10
10
11
11
PREFIX=$1
12
12
if [[ -z $PREFIX ]]; then
13
13
echo " Usage: $0 <installation-prefix>"
14
+ exit 1
14
15
fi
15
16
16
17
set -ex
@@ -23,14 +24,14 @@ if ! grep -q "^VERSION=${OPENSSL_VERSION}$" build-openssl/Makefile ; then
23
24
rm -rf build-openssl
24
25
mkdir -p build-openssl
25
26
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 | \
27
28
tar -xz --strip-components=1 -f -
28
29
else
29
30
echo " Reusing existing build-openssl directory"
30
31
pushd build-openssl
31
32
fi
32
33
33
- ./config --prefix=${PREFIX} zlib no-krb5 zlib shared
34
+ ./config --prefix=${PREFIX} zlib shared no-deprecated
34
35
echo " ## building openssl"
35
36
if ! make -j 2>&1 | tail -20 ; then
36
37
echo " ## Make failed, cleaning up and retrying"
You can’t perform that action at this time.
0 commit comments