Skip to content

Commit

Permalink
enclave_test build fix (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
valdok committed Mar 7, 2024
1 parent 9bdcb6e commit a5b57b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosmwasm/enclaves/execute/src/registration/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -971,10 +971,10 @@ pub mod tests {
unsafe {
let mut p_report = (*my_p_quote).report_body;
let mut p_data = p_report.report_data;
(*p_data).d[6] = (*p_data).d[6] + 4;
p_data.d[6] = p_data.d[6] ^ 4;
};

let res = verify_quote_ecdsa(&vec_quote, &vec_coll, time_s);
assert!(res.is_ok());
assert!(!res.is_ok());
}
}

0 comments on commit a5b57b4

Please sign in to comment.