Skip to content

Commit 9b5cbbc

Browse files
authored
Merge pull request #9663 from embhorn/zd21045
Resolve unused var warning in oss-fuzz
2 parents e8934f7 + 625a3cd commit 9b5cbbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wolfcrypt/src/ecc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2704,7 +2704,6 @@ int ecc_projective_dbl_point(ecc_point *P, ecc_point *R, mp_int* a,
27042704
int ecc_map_ex(ecc_point* P, mp_int* modulus, mp_digit mp, int ct)
27052705
{
27062706
int err = MP_OKAY;
2707-
mp_int *x, *y, *z;
27082707
(void)ct;
27092708

27102709
if (P == NULL || modulus == NULL){
@@ -2719,6 +2718,7 @@ int ecc_map_ex(ecc_point* P, mp_int* modulus, mp_digit mp, int ct)
27192718
DECL_MP_INT_SIZE_DYN(ry, mp_bitsused(modulus), MAX_ECC_BITS_USE);
27202719
DECL_MP_INT_SIZE_DYN(rz, mp_bitsused(modulus), MAX_ECC_BITS_USE);
27212720
#endif
2721+
mp_int *x, *y, *z;
27222722

27232723
/* special case for point at infinity */
27242724
if (mp_cmp_d(P->z, 0) == MP_EQ) {

0 commit comments

Comments
 (0)