1
Fork 0

fix SGX build failures

This commit is contained in:
Ralf Jung 2019-02-10 19:08:49 +01:00
parent 4853ce660e
commit 4833074a9a

View file

@ -41,7 +41,7 @@ pub fn egetkey(request: &Align512<[u8; 512]>) -> Result<Align16<[u8; 16]>, u32>
);
match error {
0 => Ok(out.into_inner()),
0 => Ok(out.into_initialized()),
err => Err(err),
}
}
@ -69,6 +69,6 @@ pub fn ereport(
"{rdx}"(report.as_mut_ptr())
);
report.into_inner()
report.into_initialized()
}
}