Skip to content

Commit 4833074

Browse files
committed
fix SGX build failures
1 parent 4853ce6 commit 4833074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/sys/sgx/ext/arch.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub fn egetkey(request: &Align512<[u8; 512]>) -> Result<Align16<[u8; 16]>, u32>
4141
);
4242

4343
match error {
44-
0 => Ok(out.into_inner()),
44+
0 => Ok(out.into_initialized()),
4545
err => Err(err),
4646
}
4747
}
@@ -69,6 +69,6 @@ pub fn ereport(
6969
"{rdx}"(report.as_mut_ptr())
7070
);
7171

72-
report.into_inner()
72+
report.into_initialized()
7373
}
7474
}

0 commit comments

Comments
 (0)