fix SGX build failures
This commit is contained in:
parent
4853ce660e
commit
4833074a9a
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue