mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Add missing cleanup in test function
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -217,6 +217,9 @@ void entropy_func_len( int len, int ret )
|
|||||||
|
|
||||||
for( j = len; j < sizeof( buf ); j++ )
|
for( j = len; j < sizeof( buf ); j++ )
|
||||||
TEST_ASSERT( acc[j] == 0 );
|
TEST_ASSERT( acc[j] == 0 );
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_entropy_free( &ctx );
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user