Fix a constness issue

This commit is contained in:
Manuel Pégourié-Gonnard 2015-03-19 12:47:21 +00:00
parent 35f1d7f0aa
commit fa8aebcbcc
3 changed files with 3 additions and 2 deletions

View file

@ -715,7 +715,7 @@ int mpi_inv_mod( mpi *X, const mpi *A, const mpi *N );
* POLARSSL_ERR_MPI_MALLOC_FAILED if memory allocation failed,
* POLARSSL_ERR_MPI_NOT_ACCEPTABLE if X is not prime
*/
int mpi_is_prime( mpi *X,
int mpi_is_prime( const mpi *X,
int (*f_rng)(void *, unsigned char *, size_t),
void *p_rng );