We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97368e0 commit 2cdf69fCopy full SHA for 2cdf69f
tee-worker/core-primitives/attestation-handler/src/attestation_handler.rs
@@ -30,7 +30,7 @@
30
#[cfg(all(not(feature = "std"), feature = "sgx"))]
31
use crate::sgx_reexport_prelude::*;
32
33
-use crate::{cert, Error as EnclaveError, Error, Result as EnclaveResult};
+use crate::{cert, Error as EnclaveError, Result as EnclaveResult};
34
use codec::Encode;
35
use core::{convert::TryInto, default::Default};
36
use itertools::Itertools;
@@ -195,7 +195,7 @@ where
195
" [Enclave] failed to write RA file ({}), status: {:?}",
196
RA_DUMP_CERT_DER_FILE, err
197
);
198
- return Err(Error::IoError(err))
+ return Err(EnclaveError::IoError(err))
199
}
200
info!(" [Enclave] dumped ra cert to {}", RA_DUMP_CERT_DER_FILE);
201
Ok(())
@@ -220,7 +220,7 @@ where
220
221
222
223
224
225
226
0 commit comments