Commit 0e4f9115 authored by Paul Bakker's avatar Paul Bakker

Fix iteration counter

parent 784b04ff
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment