Skip to content

Commit 781fa45

Browse files
authored
chore: update to OpenSSL 3.0.0 (#190)
1 parent 4bfcb02 commit 781fa45

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

scripts/manylinux-build-and-install-openssl.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ set -o pipefail
1010
MY_DIR=$(dirname "${BASH_SOURCE[0]}")
1111
source $MY_DIR/utils.sh
1212

13-
OPENSSL_ROOT=openssl-1.1.1l
14-
# Hash from https://www.openssl.org/source/openssl-1.1.1l.tar.gz.sha256
15-
OPENSSL_HASH=0b7a3e5e59c34827fe0c3a74b7ec8baef302b98fa80088d7f9153aa16fa76bd1
13+
OPENSSL_ROOT=openssl-3.0.0
14+
# Hash from https://www.openssl.org/source/openssl-3.0.0.tar.gz.sha256
15+
OPENSSL_HASH=59eedfcb46c25214c9bd37ed6078297b4df01d012267fe9e9eee31f61bc70536
1616

1717
cd /tmp
1818

@@ -33,6 +33,12 @@ if ! perl -e 'use 5.10.0' &> /dev/null; then
3333
make install > /dev/null
3434
popd
3535
export PATH=/tmp/perl-openssl/bin:${PATH}
36+
else
37+
if [ "${AUDITWHEEL_PLAT:0:9}" == "manylinux" ]; then
38+
# more perl modules are needed than the bare minimum already installed in CentOS
39+
# c.f. https://github.com/openssl/openssl/blob/openssl-3.0.0/NOTES-PERL.md#general-notes
40+
yum -y install perl-core
41+
fi
3642
fi
3743

3844
# Download

0 commit comments

Comments
 (0)