github: Build OpenSSL from the Git repository instead of a tarball
This is more flexible and allows test builds against branches.
This commit is contained in:
+3
-5
@@ -92,10 +92,8 @@ build_tss2()
|
|||||||
|
|
||||||
build_openssl()
|
build_openssl()
|
||||||
{
|
{
|
||||||
SSL_REV=3.4.1
|
SSL_REV=openssl-3.4.1
|
||||||
SSL_PKG=openssl-$SSL_REV
|
SSL_DIR=$DEPS_BUILD_DIR/openssl
|
||||||
SSL_DIR=$DEPS_BUILD_DIR/$SSL_PKG
|
|
||||||
SSL_SRC=https://www.openssl.org/source/$SSL_PKG.tar.gz
|
|
||||||
SSL_INS=$DEPS_PREFIX/ssl
|
SSL_INS=$DEPS_PREFIX/ssl
|
||||||
SSL_OPT="-d shared no-dtls no-ssl3 no-zlib no-idea no-psk
|
SSL_OPT="-d shared no-dtls no-ssl3 no-zlib no-idea no-psk
|
||||||
no-tests enable-rfc3779 enable-ec_nistp_64_gcc_128"
|
no-tests enable-rfc3779 enable-ec_nistp_64_gcc_128"
|
||||||
@@ -117,7 +115,7 @@ build_openssl()
|
|||||||
|
|
||||||
echo "$ build_openssl()"
|
echo "$ build_openssl()"
|
||||||
|
|
||||||
curl -L $SSL_SRC | tar xz -C $DEPS_BUILD_DIR || exit $?
|
git clone https://github.com/openssl/openssl.git --depth 1 -b $SSL_REV $SSL_DIR || exit $?
|
||||||
|
|
||||||
if [ "$TEST" = "android" ]; then
|
if [ "$TEST" = "android" ]; then
|
||||||
OPENSSL_SRC=${SSL_DIR} \
|
OPENSSL_SRC=${SSL_DIR} \
|
||||||
|
|||||||
Reference in New Issue
Block a user