Fix a style issue
diff --git a/tests/suites/test_suite_x509parse.function b/tests/suites/test_suite_x509parse.function
index 688009d..15c79bc 100644
--- a/tests/suites/test_suite_x509parse.function
+++ b/tests/suites/test_suite_x509parse.function
@@ -440,7 +440,7 @@
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 );