Skip to content

Commit da5f914

Browse files
committed
bump openssl version to 3.5
1 parent 5822802 commit da5f914

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mytonctrl/scripts/upgrade.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fi
5959
if [ ! -d "${bindir}/openssl_3" ]; then
6060
git clone https://github.com/openssl/openssl ${bindir}/openssl_3
6161
cd ${bindir}/openssl_3
62-
git checkout openssl-3.1.4
62+
git checkout openssl-3.5
6363
./config
6464
make build_libs -j$(nproc)
6565
opensslPath=`pwd`
@@ -94,7 +94,7 @@ mkdir -p ${tmp_bin_dir}/${repo}
9494
cd ${tmp_bin_dir}/${repo}
9595
cpuNumber=$(cat /proc/cpuinfo | grep "processor" | wc -l)
9696

97-
cmake -DCMAKE_BUILD_TYPE=Release ${srcdir}/${repo} -GNinja -DTON_USE_JEMALLOC=ON -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$opensslPath/include -DOPENSSL_CRYPTO_LIBRARY=$opensslPath/libcrypto.a || exit 1
97+
cmake -DCMAKE_BUILD_TYPE=Release ${srcdir}/${repo} -GNinja -DTON_USE_JEMALLOC=ON -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$opensslPath/include -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_ROOT_DIR=$opensslPath -DOPENSSL_SSL_LIBRARY=$opensslPath/libssl.a -DOPENSSL_CRYPTO_LIBRARY=$opensslPath/libcrypto.a || exit 1
9898
ninja -j ${cpuNumber} fift validator-engine lite-client validator-engine-console generate-random-id dht-server func tonlibjson rldp-http-proxy || exit 1
9999
cd ${bindir}/${repo}
100100
ls --hide="*.config.json" | xargs -d '\n' rm -rf

scripts/ton_installer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ rm -rf $BIN_DIR/openssl_3
103103
git clone https://github.com/openssl/openssl $BIN_DIR/openssl_3
104104
cd $BIN_DIR/openssl_3
105105
opensslPath=`pwd`
106-
git checkout openssl-3.1.4
106+
git checkout openssl-3.5
107107
./config
108108
make build_libs -j$(nproc)
109109

@@ -153,7 +153,7 @@ if [[ "$OSTYPE" =~ darwin.* ]]; then
153153
cmake -DCMAKE_BUILD_TYPE=Release $SOURCES_DIR/ton
154154
fi
155155
else
156-
cmake -DCMAKE_BUILD_TYPE=Release $SOURCES_DIR/ton -GNinja -DTON_USE_JEMALLOC=ON -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$opensslPath/include -DOPENSSL_CRYPTO_LIBRARY=$opensslPath/libcrypto.a
156+
cmake -DCMAKE_BUILD_TYPE=Release $SOURCES_DIR/ton -GNinja -DTON_USE_JEMALLOC=ON -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$opensslPath/include -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_ROOT_DIR=$opensslPath -DOPENSSL_SSL_LIBRARY=$opensslPath/libssl.a -DOPENSSL_CRYPTO_LIBRARY=$opensslPath/libcrypto.a
157157
fi
158158

159159
# Расчитываем количество процессоров для сборки

0 commit comments

Comments
 (0)