Skip to content

Commit f351549

Browse files
authored
Update to OpenSSL 3.4.0 (#640)
1 parent 77c544f commit f351549

File tree

4 files changed

+2
-58
lines changed

4 files changed

+2
-58
lines changed

cryptography-linux/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ RUN \
2929
COPY --from=staticnodejs /out/ /staticnode/
3030
ADD install_openssl.sh /root/install_openssl.sh
3131
ADD openssl-version.sh /root/openssl-version.sh
32-
ADD list-util-pairs-25367.patch /root/list-util-pairs-25367.patch
3332
RUN ./install_openssl.sh
3433

3534
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal

cryptography-linux/install_openssl.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ curl -#LO "${OPENSSL_URL}/${OPENSSL_VERSION}/${OPENSSL_VERSION}.tar.gz"
88
echo "${OPENSSL_SHA256} ${OPENSSL_VERSION}.tar.gz" | sha256sum -c -
99
tar zxf ${OPENSSL_VERSION}.tar.gz
1010
pushd ${OPENSSL_VERSION}
11-
# Patch to work around OpenSSL 3.3.2 requiring a newer perl than manylinux2014
12-
if [ -f /etc/redhat-release ] && grep -q "CentOS Linux release 7" /etc/redhat-release; then
13-
git apply ../list-util-pairs-25367.patch
14-
fi
1511
./config $OPENSSL_BUILD_FLAGS --prefix=/opt/pyca/cryptography/openssl --openssldir=/opt/pyca/cryptography/openssl
1612
make depend
1713
make -j4

cryptography-linux/list-util-pairs-25367.patch

Lines changed: 0 additions & 51 deletions
This file was deleted.

cryptography-linux/openssl-version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export OPENSSL_VERSION="openssl-3.3.2"
2-
export OPENSSL_SHA256="2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281"
1+
export OPENSSL_VERSION="openssl-3.4.0"
2+
export OPENSSL_SHA256="e15dda82fe2fe8139dc2ac21a36d4ca01d5313c75f99f46c4e8a27709b7294bf"
33
# We need a base set of flags because on Windows using MSVC
44
# enable-ec_nistp_64_gcc_128 doesn't work since there's no 128-bit type
55
export OPENSSL_BUILD_FLAGS_WINDOWS="no-ssl3 no-ssl3-method no-zlib no-shared no-module no-comp no-dynamic-engine no-apps no-docs no-sm2-precomp no-atexit"

0 commit comments

Comments
 (0)