Skip to content

Commit bd6f79a

Browse files
committed
Clone OpenSSL using tag name instead of branch name
1 parent dcb0198 commit bd6f79a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

mytonctrl/scripts/upgrade.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ fi
5050

5151
# compile openssl_3
5252
rm -rf ${bindir}/openssl_3
53-
git clone --branch openssl-3.1.4 https://github.com/openssl/openssl ${bindir}/openssl_3
53+
git clone https://github.com/openssl/openssl ${bindir}/openssl_3
5454
cd ${bindir}/openssl_3
5555
./config
5656
make build_libs -j$(nproc)
5757
opensslPath=`pwd`
58+
git checkout openssl-3.1.4
5859

5960
# Go to work dir
6061
cd ${srcdir}

scripts/ton_installer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ pip3 install psutil crc16 requests
9292
# build openssl 3.0
9393
echo -e "${COLOR}[2/6]${ENDC} Building OpenSSL 3.0"
9494
rm -rf $BIN_DIR/openssl_3
95-
git clone --branch openssl-3.1.4 https://github.com/openssl/openssl $BIN_DIR/openssl_3
95+
git clone https://github.com/openssl/openssl $BIN_DIR/openssl_3
9696
cd $BIN_DIR/openssl_3
9797
opensslPath=`pwd`
98-
git checkout
98+
git checkout openssl-3.1.4
9999
./config
100100
make build_libs -j$(nproc)
101101

0 commit comments

Comments
 (0)