mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-10-20 04:35:10 +08:00
Fix iteration counter
This commit is contained in:
@@ -243,7 +243,7 @@ static void debug_print_pk( const ssl_context *ssl, int level,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for( i = 0; i < sizeof( items ); i++ )
|
for( i = 0; i < POLARSSL_PK_DEBUG_MAX_ITEMS; i++ )
|
||||||
{
|
{
|
||||||
if( items[i].type == POLARSSL_PK_DEBUG_NONE )
|
if( items[i].type == POLARSSL_PK_DEBUG_NONE )
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user