Fix golang grpc and local attestation demo to align with occlum 0.16.0

This commit is contained in:
Hui, Chunyang 2020-09-19 01:43:29 +00:00 committed by Zongmin.Gu
parent 5df923057a
commit f4b3389bbe
3 changed files with 2 additions and 4 deletions

@ -26,7 +26,6 @@ echo "${new_json}" > Occlum.json
# 2. Copy program into Occlum Workspace and build
cp ../occlum_ping image/bin
mkdir image/etc/
cp /etc/hosts image/etc/
occlum build

@ -26,7 +26,6 @@ echo "${new_json}" > Occlum.json
# 2. Copy program into Occlum Workspace and build
cp ../occlum_pong image/bin
mkdir image/etc/
cp /etc/hosts image/etc/
occlum build

@ -8,7 +8,7 @@ THISDIR="$(dirname $(readlink -f $0))"
INSTALLDIR="/usr/local/occlum/x86_64-linux-musl"
DEPSDIR="$THISDIR/deps"
TARGET_SO="$DEPSDIR/openssl/libcrypto.so"
SGX_VER="2.9.1"
SGX_VER="2.11"
mkdir -p $DEPSDIR || exit 1
@ -70,7 +70,7 @@ sdk/tlibcrypto/sgxssl/sgx_ecc256.cpp,\
sdk/tlibcrypto/sgxssl/sgx_sha256_msg.cpp\
} $DH_DIR
cd $DH_DIR && git apply $DH_PATCH >/dev/null 2>&1 || git apply $DH_PATCH -R --check
cd $DH_DIR && patch -p4 < $DH_PATCH >/dev/null 2>&1 || git apply $DH_PATCH -R --check
cd - >/dev/null 2>&1
echo "DiffieHellmanLibrary is ready"