1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Fix whitespace at EOL issues

This commit is contained in:
Manuel Pégourié-Gonnard
2015-10-30 09:23:19 +01:00
parent 03dde85c3b
commit e670f90e48
5 changed files with 12 additions and 12 deletions

View File

@ -433,16 +433,16 @@ void mbedtls_x509_crt_verify_chain( char *chain_paths, char *trusted_ca, int fl
char* act;
uint32_t flags;
int result, res;
mbedtls_x509_crt trusted, chain;
mbedtls_x509_crt trusted, chain;
result= flags_result?MBEDTLS_ERR_X509_CERT_VERIFY_FAILED:0;
mbedtls_x509_crt_init( &chain );
mbedtls_x509_crt_init( &trusted );
while( (act = strsep( &chain_paths, " " )) )
TEST_ASSERT( mbedtls_x509_crt_parse_file( &chain, act ) == 0 );
TEST_ASSERT( mbedtls_x509_crt_parse_file( &trusted, trusted_ca ) == 0 );
while( (act = strsep( &chain_paths, " " )) )
TEST_ASSERT( mbedtls_x509_crt_parse_file( &chain, act ) == 0 );
TEST_ASSERT( mbedtls_x509_crt_parse_file( &trusted, trusted_ca ) == 0 );
res = mbedtls_x509_crt_verify( &chain, &trusted, NULL, NULL, &flags, NULL, NULL );