Skip to content

Commit

Permalink
change get_td_report to private
Browse files Browse the repository at this point in the history
  • Loading branch information
hairongchen committed Jan 15, 2024
1 parent 7d5c527 commit 5da986c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vmsdk/rust/cctrusted_vm/src/tdvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub struct TdxVM {
// implement the structure method and associated function
impl TdxVM {
// TdxVM struct associated function: to build a TdxVM sturcture instance
fn new() -> TdxVM {
pub fn new() -> TdxVM {
let cc_type = CcType {
tee_type: TeeType::TDX,
tee_type_str: TEE_NAME_MAP.get(&TeeType::TDX).unwrap().to_owned(),
Expand All @@ -64,7 +64,7 @@ impl TdxVM {
}

// TdxVM struct method: get tdreport
pub fn get_td_report(
fn get_td_report(
&self,
nonce: Option<String>,
data: Option<String>,
Expand Down

0 comments on commit 5da986c

Please sign in to comment.