Fix a style issue

This commit is contained in:
Manuel Pégourié-Gonnard 2015-10-30 09:24:28 +01:00
parent fd1f9e735e
commit 1d9348a06f

View file

@ -457,7 +457,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 );