Mark internal function as static

This commit is contained in:
Darryl Green 2018-10-16 15:07:48 +01:00
parent 0c9bbb0ff8
commit 73497ceaef

View File

@ -2132,7 +2132,7 @@ cleanup:
/* /*
* Pseudo-primality test: small factors, then Miller-Rabin * Pseudo-primality test: small factors, then Miller-Rabin
*/ */
int mpi_is_prime_internal( const mbedtls_mpi *X, int rounds, static int mpi_is_prime_internal( const mbedtls_mpi *X, int rounds,
int (*f_rng)(void *, unsigned char *, size_t), int (*f_rng)(void *, unsigned char *, size_t),
void *p_rng ) void *p_rng )
{ {