x509parse tests used only last 16 bits of the return values. They are updated to check the whole 32 bit value
Signed-off-by: toth92g <toth92g@gmail.com>
diff --git a/tests/suites/test_suite_x509parse.function b/tests/suites/test_suite_x509parse.function
index bf66146..8408d88 100644
--- a/tests/suites/test_suite_x509parse.function
+++ b/tests/suites/test_suite_x509parse.function
@@ -1412,7 +1412,7 @@
mbedtls_x509_crt_init( &crt );
- TEST_ASSERT( (mbedtls_x509_crt_parse_file( &crt, crt_path )& 0xFFFF) == retVal );
+ TEST_ASSERT( mbedtls_x509_crt_parse_file( &crt, crt_path ) == retVal );
if(retVal != 0)
{
@@ -1442,7 +1442,7 @@
mbedtls_x509_crt_init( &crt );
- TEST_ASSERT( (mbedtls_x509_crt_parse_file( &crt, crt_path )& 0xFFFF) == retVal );
+ TEST_ASSERT( mbedtls_x509_crt_parse_file( &crt, crt_path ) == retVal );
if (retVal != 0)
{