Skip to content

Commit afe0434

Browse files
author
vlad
committed
local_secret build fix
1 parent 0fc27af commit afe0434

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

cosmwasm/enclaves/execute/src/registration/attestation.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ use std::vec::Vec;
1616
#[cfg(feature = "SGX_MODE_HW")]
1717
use sgx_tse::rsgx_create_report;
1818

19-
#[cfg(feature = "SGX_MODE_HW")]
2019
use sgx_types::{
2120
sgx_ql_auth_data_t, sgx_ql_certification_data_t, sgx_ql_ecdsa_sig_data_t, sgx_ql_qv_result_t,
2221
sgx_quote_t, sgx_report_body_t, sgx_status_t,
@@ -42,7 +41,6 @@ use super::ocalls::{
4241
ocall_get_quote_ecdsa, ocall_get_quote_ecdsa_collateral, ocall_get_quote_ecdsa_params,
4342
};
4443

45-
#[cfg(feature = "SGX_MODE_HW")]
4644
use ::hex as orig_hex;
4745

4846
#[cfg(all(feature = "SGX_MODE_HW", feature = "production"))]

cosmwasm/enclaves/execute/src/registration/check_patch_level.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ use crate::registration::report::AttestationReport;
3434
#[no_mangle]
3535
#[cfg(not(feature = "SGX_MODE_HW"))]
3636
pub unsafe extern "C" fn ecall_check_patch_level(
37-
p_ppid: *mut u8,
38-
n_ppid: u32,
39-
p_ppid_size: *mut u32,
37+
_p_ppid: *mut u8,
38+
_n_ppid: u32,
39+
_p_ppid_size: *mut u32,
4040
) -> NodeAuthResult {
4141
panic!("unimplemented")
4242
}

0 commit comments

Comments
 (0)