mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Fix a constness issue
This commit is contained in:
parent
35f1d7f0aa
commit
fa8aebcbcc
3 changed files with 3 additions and 2 deletions
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue