Skip to content

Commit 5345b57

Browse files
author
Andras Fekete
committed
Use a specific OpenSSL version by default
1 parent 328a1b4 commit 5345b57

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

IDE/Android/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ fi
3232

3333
# Compile OpenSSL
3434
if [ ! -e ${WORKSPACE}/openssl-install ]; then
35+
OPENSSL_BRANCH=${OPENSSL_BRANCH:-"openssl-3.2.0"}
3536
echo "=== Installing OpenSSL ==="
3637
export OPENSSL_ALL_CIPHERS="-cipher ALL -ciphersuites TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_AES_128_CCM_SHA256:TLS_AES_128_CCM_8_SHA256"
37-
git clone https://github.com/openssl/openssl.git ${WORKSPACE}/openssl-source && \
38+
git clone https://github.com/openssl/openssl.git --branch=${OPENSSL_BRANCH} ${WORKSPACE}/openssl-source && \
3839
cd ${WORKSPACE}/openssl-source && \
3940
./Configure android-x86_64 --prefix=${WORKSPACE}/openssl-install && \
4041
sed -i 's/-ldl//g' Makefile && \

0 commit comments

Comments
 (0)