mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 17:35:29 +00:00
Fix verbose test framework mote to use unmet_dep_count for index
This commit is contained in:
parent
21cc5741cf
commit
6e51915187
1 changed files with 2 additions and 2 deletions
|
@ -357,8 +357,8 @@ int main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
if( dep_check( params[i] ) != DEPENDENCY_SUPPORTED )
|
if( dep_check( params[i] ) != DEPENDENCY_SUPPORTED )
|
||||||
{
|
{
|
||||||
unmet_dependencies[ i-1 ] = strdup(params[i]);
|
unmet_dependencies[ unmet_dep_count ] = strdup(params[i]);
|
||||||
if( unmet_dependencies[ i-1 ] == NULL )
|
if( unmet_dependencies[ unmet_dep_count ] == NULL )
|
||||||
{
|
{
|
||||||
mbedtls_printf("FATAL: Out of memory\n");
|
mbedtls_printf("FATAL: Out of memory\n");
|
||||||
mbedtls_exit( MBEDTLS_EXIT_FAILURE );
|
mbedtls_exit( MBEDTLS_EXIT_FAILURE );
|
||||||
|
|
Loading…
Reference in a new issue