Skip to content

Commit

Permalink
Merge pull request #1653 from scrtlabs/dcap-09
Browse files Browse the repository at this point in the history
build fix
  • Loading branch information
valdok authored May 7, 2024
2 parents 1810e79 + ced065e commit 1d89a8b
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 1d89a8b

Please sign in to comment.