linux-sgx/0004-adapt-openssl-CVE.patch
2023-07-22 09:47:02 +08:00

26 lines
973 B
Diff

From d13f8cbc7ec066b04cbe13ef6bf14b2b085fbc35 Mon Sep 17 00:00:00 2001
From: houmingyong <houmingyong@huawei.com>
Date: Sun, 5 Jun 2022 14:44:37 +0800
Subject: [PATCH] decompress openssl sourece before build
---
.../sgxssl/Linux/build_openssl.sh | 2 --
1 file changed, 2 deletions(-)
diff --git a/external/dcap_source/QuoteVerification/sgxssl/Linux/build_openssl.sh b/external/dcap_source/QuoteVerification/sgxssl/Linux/build_openssl.sh
index 7d77b79..43745b8 100755
--- a/external/dcap_source/QuoteVerification/sgxssl/Linux/build_openssl.sh
+++ b/external/dcap_source/QuoteVerification/sgxssl/Linux/build_openssl.sh
@@ -54,8 +54,6 @@ mkdir -p $SGXSSL_ROOT/package/lib64/
# build openssl modules, clean previous openssl dir if it exist
cd $SGXSSL_ROOT/../openssl_source || exit 1
-rm -rf $OPENSSL_VERSION
-tar xvf $OPENSSL_VERSION.tar.gz || exit 1
# Remove AESBS to support only AESNI and VPAES
sed -i '/BSAES_ASM/d' $OPENSSL_VERSION/Configure
--
2.23.0