mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-31 18:32:57 +00:00
Fix iteration counter
This commit is contained in:
parent
784b04ff9a
commit
0e4f9115dc
@ -243,7 +243,7 @@ static void debug_print_pk( const ssl_context *ssl, int level,
|
||||
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 )
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user