Change mpi_safe_cond_assign() for more const-ness
diff --git a/library/ecp.c b/library/ecp.c
index 01b62f8..7b7d079 100644
--- a/library/ecp.c
+++ b/library/ecp.c
@@ -1392,7 +1392,7 @@
* Select precomputed point: R = sign(i) * T[ abs(i) / 2 ]
*/
static int ecp_select_comb( const ecp_group *grp, ecp_point *R,
- ecp_point T[], unsigned char t_len,
+ const ecp_point T[], unsigned char t_len,
unsigned char i )
{
int ret;
@@ -1425,7 +1425,7 @@
* Cost: d A + d D + 1 R
*/
static int ecp_mul_comb_core( const ecp_group *grp, ecp_point *R,
- ecp_point T[], unsigned char t_len,
+ const ecp_point T[], unsigned char t_len,
const unsigned char x[], size_t d,
int (*f_rng)(void *, unsigned char *, size_t),
void *p_rng )