Style fixes in pem, x509_crl and buf_alloc

This commit is contained in:
Andres Amaya Garcia 2017-07-06 10:06:58 +01:00 committed by Andres Amaya Garcia
parent 8ec3bfe180
commit f1ee63562a
3 changed files with 5 additions and 4 deletions

View file

@ -184,7 +184,7 @@ static int verify_chain()
{
memory_header *prv = heap.first, *cur;
if( heap.first == NULL || verify_header( heap.first ) != 0 )
if( prv == NULL || verify_header( prv ) != 0 )
{
#if defined(MBEDTLS_MEMORY_DEBUG)
mbedtls_fprintf( stderr, "FATAL: verification of first header "