Fix unused parameter warning

Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
Janos Follath 2021-06-25 15:29:56 +01:00
parent cdfd73aa7f
commit 83e384da59

View file

@ -2818,6 +2818,8 @@ static int ecp_check_bad_points_mx( const mbedtls_mpi *X, const mbedtls_mpi *P,
goto cleanup; goto cleanup;
} }
} }
#else
(void) grp_id;
#endif #endif
/* Final check: check if XmP + 1 is P (final because it changes XmP!) */ /* Final check: check if XmP + 1 is P (final because it changes XmP!) */