Fix a style issue

This commit is contained in:
Manuel Pégourié-Gonnard 2015-10-30 09:24:28 +01:00
parent e670f90e48
commit 45777c384d

View File

@ -440,7 +440,7 @@ void mbedtls_x509_crt_verify_chain( char *chain_paths, char *trusted_ca, int fl
mbedtls_x509_crt_init( &chain );
mbedtls_x509_crt_init( &trusted );
while( (act = strsep( &chain_paths, " " )) )
while( ( act = strsep( &chain_paths, " " ) ) != NULL )
TEST_ASSERT( mbedtls_x509_crt_parse_file( &chain, act ) == 0 );
TEST_ASSERT( mbedtls_x509_crt_parse_file( &trusted, trusted_ca ) == 0 );