From 4d9baf6fc0c5f61a9b66c0cdce45b04e33ae7d65 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 31 May 2024 11:52:22 +0300 Subject: [PATCH] Update OpenSSL version in examples. --- example/android/Dockerfile | 2 +- example/android/build-openssl.sh | 2 +- example/ios/Python-Apple-support.patch | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/android/Dockerfile b/example/android/Dockerfile index 3c782ca61..36e737a5b 100644 --- a/example/android/Dockerfile +++ b/example/android/Dockerfile @@ -8,7 +8,7 @@ ARG ANDROID_NDK_VERSION=23.2.8568313 COPY ./check-environment.sh ./fetch-sdk.sh ./ RUN ./fetch-sdk.sh SDK "$ANDROID_NDK_VERSION" -ARG OPENSSL_VERSION=OpenSSL_1_1_1t +ARG OPENSSL_VERSION=OpenSSL_1_1_1w COPY ./build-openssl.sh ./ RUN ./build-openssl.sh SDK "$ANDROID_NDK_VERSION" openssl "$OPENSSL_VERSION" diff --git a/example/android/build-openssl.sh b/example/android/build-openssl.sh index b0e35ba92..cc0bae808 100755 --- a/example/android/build-openssl.sh +++ b/example/android/build-openssl.sh @@ -3,7 +3,7 @@ ANDROID_SDK_ROOT=${1:-SDK} ANDROID_NDK_VERSION=${2:-23.2.8568313} OPENSSL_INSTALL_DIR=${3:-third-party/openssl} -OPENSSL_VERSION=${4:-OpenSSL_1_1_1t} # openssl-3.1.0 +OPENSSL_VERSION=${4:-OpenSSL_1_1_1w} # openssl-3.3.0 if [ ! -d "$ANDROID_SDK_ROOT" ] ; then echo "Error: directory \"$ANDROID_SDK_ROOT\" doesn't exist. Run ./fetch-sdk.sh first, or provide a valid path to Android SDK." diff --git a/example/ios/Python-Apple-support.patch b/example/ios/Python-Apple-support.patch index 4b03ec282..4ef7827be 100644 --- a/example/ios/Python-Apple-support.patch +++ b/example/ios/Python-Apple-support.patch @@ -21,7 +21,7 @@ index a1d13e9..8efcf20 100644 # probably some other packages as well) only works with 1.1.1, so # we need to preserve the ability to build the older OpenSSL (for now...) -OPENSSL_VERSION=3.1.0 -+OPENSSL_VERSION=3.1.2 ++OPENSSL_VERSION=3.1.5 # OPENSSL_VERSION_NUMBER=1.1.1 # OPENSSL_REVISION=q # OPENSSL_VERSION=$(OPENSSL_VERSION_NUMBER)$(OPENSSL_REVISION)