teaclave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject [incubator-mesatee-sgx] branch v1.1.0-beta updated: Fix static-data-distribution
Date Fri, 22 Nov 2019 18:58:43 GMT
This is an automated email from the ASF dual-hosted git repository.

dingyu pushed a commit to branch v1.1.0-beta
in repository https://gitbox.apache.org/repos/asf/incubator-mesatee-sgx.git


The following commit(s) were added to refs/heads/v1.1.0-beta by this push:
     new e548228  Fix static-data-distribution
e548228 is described below

commit e5482289dee5057491e124050bdfa215f68c23a6
Author: Yu Ding <dingelish@gmail.com>
AuthorDate: Fri Nov 22 10:58:16 2019 -0800

    Fix static-data-distribution
---
 samplecode/static-data-distribution/app/src/main.rs    | 1 +
 samplecode/static-data-distribution/enclave/Cargo.toml | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/samplecode/static-data-distribution/app/src/main.rs b/samplecode/static-data-distribution/app/src/main.rs
index 5a90f0e..a8da7c5 100644
--- a/samplecode/static-data-distribution/app/src/main.rs
+++ b/samplecode/static-data-distribution/app/src/main.rs
@@ -37,6 +37,7 @@ use sgx_crypto_helper::RsaKeyPair;
 use sgx_crypto_helper::rsa3072::{Rsa3072KeyPair, Rsa3072PubKey};
 
 static ENCLAVE_FILE: &'static str = "enclave.signed.so";
+use std::io::Write;
 
 extern "C" {
     fn say_something(
diff --git a/samplecode/static-data-distribution/enclave/Cargo.toml b/samplecode/static-data-distribution/enclave/Cargo.toml
index 7680f6b..3a72a6a 100644
--- a/samplecode/static-data-distribution/enclave/Cargo.toml
+++ b/samplecode/static-data-distribution/enclave/Cargo.toml
@@ -11,9 +11,9 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_crypto_helper = { package="sgx_tcrypto_helper", git = "https://github.com/baidu/rust-sgx-sdk.git"
}
+sgx_types = { rev = "v1.1.0", git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_tstd = { rev = "v1.1.0", git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_crypto_helper = { package="sgx_tcrypto_helper", rev = "v1.1.0", git = "https://github.com/baidu/rust-sgx-sdk.git"
}
 
 [dependencies]
 serde_json = { git = "https://github.com/mesalock-linux/serde-json-sgx" }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@mesatee.apache.org
For additional commands, e-mail: commits-help@mesatee.apache.org


Mime
View raw message