Update openssl.sh

This commit is contained in:
midoks
2022-07-01 14:35:31 +08:00
parent 80879ffb53
commit 03af9e8c0b
+2 -2
View File
@@ -30,9 +30,9 @@ if [ ! -d ${SERVER_ROOT}/openssl ];then
if [ ! -f ${SOURCE_ROOT}/openssl-1.1.1p.tar.gz ];then
wget -O ${SOURCE_ROOT}/openssl-1.1.1p.tar.gz https://www.openssl.org/source/openssl-1.1.1p.tar.gz
fi
tar -zxf openssl-1.1.1p.tar.gz
tar -zxvf openssl-1.1.1p.tar.gz
cd openssl-1.1.1p
./config --openssldir=${SERVER_ROOT}/openssl zlib-dynamic shared
./config --prefix=${SERVER_ROOT}/openssl zlib-dynamic shared
make && make install
fi