diff --git a/example/android/Dockerfile b/example/android/Dockerfile index 7f738fa86..310e8f7eb 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_1q +ARG OPENSSL_VERSION=OpenSSL_1_1_1t 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 80f7b0fa5..e4b82e06b 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_1q} # openssl-3.0.5 +OPENSSL_VERSION=${4:-OpenSSL_1_1_1t} # openssl-3.1.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/web/build-openssl.sh b/example/web/build-openssl.sh index 39e1d2d0d..73e11c8bf 100755 --- a/example/web/build-openssl.sh +++ b/example/web/build-openssl.sh @@ -3,7 +3,7 @@ cd $(dirname $0) emconfigure true 2> /dev/null || { echo 'emconfigure not found. Install emsdk and add emconfigure and emmake to PATH environment variable. See instruction at https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html. Do not forget to add `emconfigure` and `emmake` to the PATH environment variable via `emsdk/emsdk_env.sh` script.'; exit 1; } -OPENSSL=OpenSSL_1_1_0j +OPENSSL=OpenSSL_1_1_0l if [ ! -f $OPENSSL.tar.gz ]; then echo "Downloading OpenSSL sources..." wget https://github.com/openssl/openssl/archive/$OPENSSL.tar.gz diff --git a/example/web/build-tdlib.sh b/example/web/build-tdlib.sh index e013ccc29..4fb588d4b 100755 --- a/example/web/build-tdlib.sh +++ b/example/web/build-tdlib.sh @@ -22,7 +22,7 @@ OPENSSL_OPTIONS="-DOPENSSL_FOUND=1 \ -DOPENSSL_CRYPTO_LIBRARY=\"$OPENSSL_CRYPTO_LIBRARY\" \ -DOPENSSL_SSL_LIBRARY=\"$OPENSSL_SSL_LIBRARY\" \ -DOPENSSL_LIBRARIES=\"$OPENSSL_SSL_LIBRARY;$OPENSSL_CRYPTO_LIBRARY\" \ - -DOPENSSL_VERSION=\"1.1.0j\"" + -DOPENSSL_VERSION=\"1.1.0l\"" cd build/generate cmake $TD_ROOT || exit 1