mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 04:05:41 +01:00
Fix test_suite_dhm build
Fix build as the name of the random function changed from development to 2.7. Signed-off-by: Chris Jones <christopher.jones@arm.com>
This commit is contained in:
parent
419c104610
commit
ede3addc17
@ -119,7 +119,7 @@ void dhm_make_public( int P_bytes, int radix_G, char *input_G, int result )
|
|||||||
TEST_ASSERT( mbedtls_dhm_set_group( &ctx, &P, &G ) == 0 );
|
TEST_ASSERT( mbedtls_dhm_set_group( &ctx, &P, &G ) == 0 );
|
||||||
TEST_ASSERT( mbedtls_dhm_make_public( &ctx, (int) mbedtls_mpi_size( &P ),
|
TEST_ASSERT( mbedtls_dhm_make_public( &ctx, (int) mbedtls_mpi_size( &P ),
|
||||||
output, sizeof(output),
|
output, sizeof(output),
|
||||||
&mbedtls_test_rnd_pseudo_rand,
|
&rnd_pseudo_rand,
|
||||||
NULL ) == result );
|
NULL ) == result );
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
|
Loading…
Reference in New Issue
Block a user