1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

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

@ -2041,7 +2041,7 @@ cleanup:
/*
* Pseudo-primality test: small factors, then Miller-Rabin
*/
int mpi_is_prime( mpi *X,
int mpi_is_prime( const mpi *X,
int (*f_rng)(void *, unsigned char *, size_t),
void *p_rng )
{