1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Rename test_ca_list to test_cas_pem

This commit is contained in:
Manuel Pégourié-Gonnard
2015-03-27 10:23:53 +01:00
parent 2f165060f0
commit a958d69a70
10 changed files with 25 additions and 19 deletions

View File

@ -129,8 +129,8 @@ int main( int argc, char *argv[] )
fflush( stdout );
#if defined(POLARSSL_CERTS_C)
ret = x509_crt_parse( &cacert, (const unsigned char *) test_ca_list,
test_ca_list_len );
ret = x509_crt_parse( &cacert, (const unsigned char *) test_cas_pem,
test_cas_pem_len );
#else
ret = 1;
polarssl_printf("POLARSSL_CERTS_C not defined.");

View File

@ -135,8 +135,8 @@ int main( void )
goto exit;
}
ret = x509_crt_parse( &srvcert, (const unsigned char *) test_ca_list,
test_ca_list_len );
ret = x509_crt_parse( &srvcert, (const unsigned char *) test_cas_pem,
test_cas_pem_len );
if( ret != 0 )
{
printf( " failed\n ! x509_crt_parse returned %d\n\n", ret );

View File

@ -120,8 +120,8 @@ int main( void )
fflush( stdout );
#if defined(POLARSSL_CERTS_C)
ret = x509_crt_parse( &cacert, (const unsigned char *) test_ca_list,
test_ca_list_len );
ret = x509_crt_parse( &cacert, (const unsigned char *) test_cas_pem,
test_cas_pem_len );
#else
ret = 1;
polarssl_printf("POLARSSL_CERTS_C not defined.");

View File

@ -161,8 +161,8 @@ int main( void )
goto exit;
}
ret = x509_crt_parse( &srvcert, (const unsigned char *) test_ca_list,
test_ca_list_len );
ret = x509_crt_parse( &srvcert, (const unsigned char *) test_cas_pem,
test_cas_pem_len );
if( ret != 0 )
{
polarssl_printf( " failed\n ! x509_crt_parse returned %d\n\n", ret );

View File

@ -507,8 +507,8 @@ int main( int argc, char *argv[] )
else
#endif
#if defined(POLARSSL_CERTS_C)
ret = x509_crt_parse( &cacert, (const unsigned char *) test_ca_list,
test_ca_list_len );
ret = x509_crt_parse( &cacert, (const unsigned char *) test_cas_pem,
test_cas_pem_len );
#else
{
ret = 1;

View File

@ -424,8 +424,8 @@ int main( void )
goto exit;
}
ret = x509_crt_parse( &srvcert, (const unsigned char *) test_ca_list,
test_ca_list_len );
ret = x509_crt_parse( &srvcert, (const unsigned char *) test_cas_pem,
test_cas_pem_len );
if( ret != 0 )
{
polarssl_printf( " failed\n ! x509_crt_parse returned %d\n\n", ret );

View File

@ -139,8 +139,8 @@ int main( void )
goto exit;
}
ret = x509_crt_parse( &srvcert, (const unsigned char *) test_ca_list,
test_ca_list_len );
ret = x509_crt_parse( &srvcert, (const unsigned char *) test_cas_pem,
test_cas_pem_len );
if( ret != 0 )
{
polarssl_printf( " failed\n ! x509_crt_parse returned %d\n\n", ret );