Skip to content

Commit

Permalink
Merge #316
Browse files Browse the repository at this point in the history
316: Upgrade `protobuf` to enable publishing `aesm-client` r=jethrogb a=raoulstrackx



Co-authored-by: Raoul Strackx <[email protected]>
  • Loading branch information
bors[bot] and raoulstrackx authored Mar 1, 2021
2 parents d6e35bd + ce67fb0 commit a09d43e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aesm-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sgx-isa = { version = "0.3.0", path = "../sgx-isa"}
# External dependencies
byteorder = "1.0" # Unlicense/MIT
lazy_static = "1" # MIT/Apache-2.0
protobuf = "2.8.0" # MIT/Apache-2.0
protobuf = "2.19.0" # MIT/Apache-2.0
failure = "0.1.1" # MIT/Apache-2.0
failure_derive = "0.1.1" # MIT/Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion aesm-client/src/imp/aesm_protobuf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl AesmClient {
let mut res_bytes = vec![0; res_len as usize];
sock.read_exact(&mut res_bytes)?;

let res = T::Response::from_response(protobuf::parse_from_bytes(&res_bytes))?;
let res = T::Response::from_response(Message::parse_from_bytes(&res_bytes))?;
Ok(res)
}

Expand Down

0 comments on commit a09d43e

Please sign in to comment.