From 625a3cd250a360ba03f43dd667dbe27262f7b244 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Wed, 14 Jan 2026 11:23:19 -0600 Subject: [PATCH] Resolve unused var warning in oss-fuzz --- wolfcrypt/src/ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/ecc.c b/wolfcrypt/src/ecc.c index 3cbf45ab765..da309eb2ab9 100644 --- a/wolfcrypt/src/ecc.c +++ b/wolfcrypt/src/ecc.c @@ -2704,7 +2704,6 @@ int ecc_projective_dbl_point(ecc_point *P, ecc_point *R, mp_int* a, int ecc_map_ex(ecc_point* P, mp_int* modulus, mp_digit mp, int ct) { int err = MP_OKAY; - mp_int *x, *y, *z; (void)ct; if (P == NULL || modulus == NULL){ @@ -2719,6 +2718,7 @@ int ecc_map_ex(ecc_point* P, mp_int* modulus, mp_digit mp, int ct) DECL_MP_INT_SIZE_DYN(ry, mp_bitsused(modulus), MAX_ECC_BITS_USE); DECL_MP_INT_SIZE_DYN(rz, mp_bitsused(modulus), MAX_ECC_BITS_USE); #endif + mp_int *x, *y, *z; /* special case for point at infinity */ if (mp_cmp_d(P->z, 0) == MP_EQ) {