Drop opt_params condition for ECDSA case
@@ -708,8 +708,8 @@ oe_result_t oe_sgx_qe_get_quote(
}
else // ECDSA
{
- // For EPID, no opt_params is taken.
- if (opt_params || opt_params_size)
+ // For EPID, opt_params_size should be zero.
+ if (opt_params_size)
OE_RAISE(OE_INVALID_PARAMETER);
}
