Skip to content

Commit

Permalink
Add debug for QuoteV4 and fix build on nightly (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
exh0115 authored Jul 30, 2024
1 parent eab2dd2 commit 9273ff2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
17 changes: 13 additions & 4 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ x509-parser = "0.15.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = "0.4"
time = "0.3.36"

p256 = { git = "https://github.com/RustCrypto/elliptic-curves.git" }
sha2 = { git = "https://github.com/RustCrypto/hashes.git" }
sha3 = { git = "https://github.com/RustCrypto/hashes.git" }
sha3 = { git = "https://github.com/RustCrypto/hashes.git" }
3 changes: 2 additions & 1 deletion src/types/quotes/version_4.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use super::{CertData, QuoteHeader, body::*};
use crate::constants::{ENCLAVE_REPORT_LEN, SGX_TEE_TYPE, TD10_REPORT_LEN, TDX_TEE_TYPE};

#[derive(Clone, Debug)]
pub struct QuoteV4 {
pub header: QuoteHeader, // [48 bytes]
// Header of Quote data structure.
Expand Down Expand Up @@ -75,4 +76,4 @@ impl QuoteSignatureDataV4 {
qe_cert_data,
}
}
}
}

0 comments on commit 9273ff2

Please sign in to comment.