Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
valdok committed May 7, 2024
1 parent 1810e79 commit ced065e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cosmwasm/enclaves/execute/src/registration/attestation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ pub fn validate_enclave_version(
let _result = ecc_handle.close();

if verify_ra_cert(&cert_der, None, true).is_err() {
sgx_status_t::SGX_ERROR_UNEXPECTED
error!("Error verifying report.");
return Err(sgx_status_t::SGX_ERROR_UNEXPECTED);
}

Ok(())
Expand Down

0 comments on commit ced065e

Please sign in to comment.