fix SGX build failures
This commit is contained in:
@@ -41,7 +41,7 @@ pub fn egetkey(request: &Align512<[u8; 512]>) -> Result<Align16<[u8; 16]>, u32>
|
|||||||
);
|
);
|
||||||
|
|
||||||
match error {
|
match error {
|
||||||
0 => Ok(out.into_inner()),
|
0 => Ok(out.into_initialized()),
|
||||||
err => Err(err),
|
err => Err(err),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -69,6 +69,6 @@ pub fn ereport(
|
|||||||
"{rdx}"(report.as_mut_ptr())
|
"{rdx}"(report.as_mut_ptr())
|
||||||
);
|
);
|
||||||
|
|
||||||
report.into_inner()
|
report.into_initialized()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user