mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Removed a redundant check
This commit is contained in:
@ -3307,9 +3307,6 @@ int wc_ecc_get_curve_id_from_dp_params(const ecc_set_type* dp)
|
||||
{
|
||||
int idx;
|
||||
|
||||
if (dp == NULL)
|
||||
return BAD_FUNC_ARG;
|
||||
|
||||
if (dp == NULL || dp->prime == NULL || dp->Af == NULL ||
|
||||
dp->Bf == NULL || dp->order == NULL || dp->Gx == NULL || dp->Gy == NULL)
|
||||
return BAD_FUNC_ARG;
|
||||
|
Reference in New Issue
Block a user