commit | fa8aebcbcc73c7ad316dcd5bd0a2ed3d294936fd | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Mar 19 12:47:21 2015 +0000 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Mar 19 13:38:17 2015 +0000 |
tree | 1a774df27562bfdb1af51a349827712388fc50cf | |
parent | 35f1d7f0aa9547d305eb4bd947fa6a1ca8e35503 [diff] [blame] |
Fix a constness issue
diff --git a/include/mbedtls/bignum.h b/include/mbedtls/bignum.h index 44248f3..171d42a 100644 --- a/include/mbedtls/bignum.h +++ b/include/mbedtls/bignum.h
@@ -715,7 +715,7 @@ * 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 );