Remove debugging code from x509parse_ocsp test suite

This commit is contained in:
Andres Amaya Garcia
2017-11-30 22:38:36 +00:00
committed by Andres Amaya Garcia
parent da29b86513
commit bb0ed5770f

View File

@@ -29,11 +29,7 @@ void x509parse_ocsp_response( char *resp_data, char *result_str, int result )
ret = mbedtls_x509_ocsp_response_info( resp_info, sizeof( resp_info ),
"", &resp );
TEST_ASSERT( ret >= 0 );
ret = strcmp( result_str, resp_info );
if( ret != 0 )
mbedtls_printf( "Expected:\n%s\n===========\nReceived:\n%s\n",
result_str, resp_info );
TEST_ASSERT( ret == 0 );
TEST_ASSERT( strcmp( result_str, resp_info ) == 0 );
}
exit: