The test added line 251 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.
The test added line 251 of
sgx_dcap_tvl.cppis at odd with line 186, which is now ignored.sgx_retshould probably be set back toSGX_SUCCESSon line 186, or maybe the test of line 251 should also check thatrethas not been set to something different fromSGX_QL_ERROR_UNEXPECTED.