intel / intel/confidential-computing.tee.dcap

Incorrect return value from sgx_tvl_verify_qve_report_and_identity in 1.22

Open
#444 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
326
Forks
198
PR merge metrics
No merged PRs in 30d

Description

The test added line [251](https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/main/QuoteVerification/dcap_tvl/sgx_dcap_tvl.cpp#L251) of `sgx_dcap_tvl.cpp` is at odd with line 186, which is now ignored. `sgx_ret` should probably be set back to `SGX_SUCCESS` on line 186, or maybe the test of line 251 should also check that `ret` has not been set to something different from `SGX_QL_ERROR_UNEXPECTED`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.