Skip to content

Commit 4c6cf88

Browse files
authored
Merge pull request #465 from Dstack-TEE/fix/dummy-api-mismatch
fix(tdx-attest): align dummy.rs API with linux.rs for musl builds
2 parents ef01991 + bc3da1f commit 4c6cf88

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

tdx-attest/src/dummy.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//
33
// SPDX-License-Identifier: Apache-2.0
44

5-
use cc_eventlog::TdxEventLog;
65
use num_enum::FromPrimitive;
76
use thiserror::Error;
87

@@ -48,11 +47,7 @@ pub fn extend_rtmr(_index: u32, _event_type: u32, _digest: [u8; 48]) -> Result<(
4847
pub fn get_report(_report_data: &TdxReportData) -> Result<TdxReport> {
4948
Err(TdxAttestError::NotSupported)
5049
}
51-
pub fn get_quote(
52-
_report_data: &TdxReportData,
53-
_att_key_id_list: Option<&[TdxUuid]>,
54-
) -> Result<(TdxUuid, Vec<u8>)> {
55-
let _ = _report_data;
50+
pub fn get_quote(_report_data: &TdxReportData) -> Result<Vec<u8>> {
5651
Err(TdxAttestError::NotSupported)
5752
}
5853
pub fn get_supported_att_key_ids() -> Result<Vec<TdxUuid>> {

0 commit comments

Comments
 (0)