Removed debug code accidentally left in test code
Removed debug code accidentally left in test_suite_x509parse.function.
This commit is contained in:
parent
fa8094ea40
commit
c87747b675
1 changed files with 0 additions and 4 deletions
|
@ -204,12 +204,8 @@ void x509_verify( char *crt_file, char *ca_file, char *crl_file,
|
||||||
TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
|
TEST_ASSERT( mbedtls_x509_crt_parse_file( &ca, ca_file ) == 0 );
|
||||||
TEST_ASSERT( mbedtls_x509_crl_parse_file( &crl, crl_file ) == 0 );
|
TEST_ASSERT( mbedtls_x509_crl_parse_file( &crl, crl_file ) == 0 );
|
||||||
|
|
||||||
//puts( "" );
|
|
||||||
res = mbedtls_x509_crt_verify_with_profile( &crt, &ca, &crl, &compat_profile, cn_name, &flags, f_vrfy, NULL );
|
res = mbedtls_x509_crt_verify_with_profile( &crt, &ca, &crl, &compat_profile, cn_name, &flags, f_vrfy, NULL );
|
||||||
|
|
||||||
//printf( "exp: -%04x, %08x\n", result, flags_result );
|
|
||||||
//printf( "got: -%04x, %08x\n", res, flags );
|
|
||||||
|
|
||||||
TEST_ASSERT( res == ( result ) );
|
TEST_ASSERT( res == ( result ) );
|
||||||
TEST_ASSERT( flags == (uint32_t)( flags_result ) );
|
TEST_ASSERT( flags == (uint32_t)( flags_result ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue