From a676acf66b5f27197c91a56282021af3fc82a104 Mon Sep 17 00:00:00 2001 From: Peter Vaskovic Date: Wed, 6 Aug 2014 00:48:39 +0200 Subject: [PATCH] Fix missing curly braces. --- library/ecp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/ecp.c b/library/ecp.c index afa795525..4c7cdbfb1 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -952,7 +952,9 @@ static int ecp_double_jac( const ecp_group *grp, ecp_point *R, MOD_SUB( X3 ); } else + { MPI_CHK( mpi_mul_mpi( &X3, &X3, &grp->A ) ); MOD_MUL( X3 ); + } MPI_CHK( mpi_add_mpi( &T3, &T3, &X3 ) ); MOD_ADD( T3 ); MPI_CHK( mpi_mul_mpi( &X3, &T3, &T3 ) ); MOD_MUL( X3 );