diff --git a/wolfcrypt/src/ecc.c b/wolfcrypt/src/ecc.c index a071d6432..4c4017ae5 100644 --- a/wolfcrypt/src/ecc.c +++ b/wolfcrypt/src/ecc.c @@ -7328,12 +7328,12 @@ static int ecc_check_pubkey_order(ecc_key* key, ecc_point* pubkey, mp_int* a, if (err == MP_OKAY && !wc_ecc_point_is_at_infinity(inf)) err = ECC_INF_E; #else - { + { (void)a; (void)prime; err = WC_KEY_SIZE_E; - } + } #endif }