From efde9d58de3ccc89db74755433ad11e9b91b40bd Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Tue, 20 Dec 2022 04:20:12 -0500 Subject: [PATCH] remove duplicated consecutive preproc directives Signed-off-by: Glenn Strauss --- library/ecp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/ecp.c b/library/ecp.c index 70b2283bc..57ccf591a 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -1224,6 +1224,7 @@ cleanup: MBEDTLS_MPI_CHK( mbedtls_mpi_safe_cond_swap( (X), (Y), (cond) ) ) #if defined(MBEDTLS_ECP_SHORT_WEIERSTRASS_ENABLED) + /* * Computes the right-hand side of the Short Weierstrass equation * RHS = X^3 + A X + B @@ -1302,9 +1303,7 @@ cleanup: mbedtls_mpi_free( &exp ); return( ret ); } -#endif /* MBEDTLS_ECP_SHORT_WEIERSTRASS_ENABLED */ -#if defined(MBEDTLS_ECP_SHORT_WEIERSTRASS_ENABLED) /* * For curves in short Weierstrass form, we do all the internal operations in * Jacobian coordinates.