diff --git a/library/ecp.c b/library/ecp.c index e48bfe432..ca49f9941 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -3007,6 +3007,8 @@ static int ecp_check_bad_points_mx( const mbedtls_mpi *X, const mbedtls_mpi *P, goto cleanup; } } +#else + (void) grp_id; #endif /* Final check: check if XmP + 1 is P (final because it changes XmP!) */