mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 01:54:17 +01:00
Fix some whitespace
This commit is contained in:
parent
0eb6315b6d
commit
3f0f972ac5
@ -605,15 +605,15 @@ void mbedtls_x509_crt_verify_chain( char *chain_paths, char *trusted_ca,
|
|||||||
TEST_ASSERT( mbedtls_x509_crt_parse_file( &chain, act ) == 0 );
|
TEST_ASSERT( mbedtls_x509_crt_parse_file( &chain, act ) == 0 );
|
||||||
TEST_ASSERT( mbedtls_x509_crt_parse_file( &trusted, trusted_ca ) == 0 );
|
TEST_ASSERT( mbedtls_x509_crt_parse_file( &trusted, trusted_ca ) == 0 );
|
||||||
|
|
||||||
if( strcmp(profile_name, "") == 0 )
|
if( strcmp( profile_name, "" ) == 0 )
|
||||||
profile = &mbedtls_x509_crt_profile_default;
|
profile = &mbedtls_x509_crt_profile_default;
|
||||||
else if( strcmp(profile_name, "next") == 0 )
|
else if( strcmp( profile_name, "next" ) == 0 )
|
||||||
profile = &mbedtls_x509_crt_profile_next;
|
profile = &mbedtls_x509_crt_profile_next;
|
||||||
else if( strcmp(profile_name, "suiteb") == 0 )
|
else if( strcmp( profile_name, "suiteb" ) == 0 )
|
||||||
profile = &mbedtls_x509_crt_profile_suiteb;
|
profile = &mbedtls_x509_crt_profile_suiteb;
|
||||||
else if( strcmp(profile_name, "rsa3072") == 0 )
|
else if( strcmp( profile_name, "rsa3072" ) == 0 )
|
||||||
profile = &profile_rsa3072;
|
profile = &profile_rsa3072;
|
||||||
else if( strcmp(profile_name, "sha512") == 0 )
|
else if( strcmp( profile_name, "sha512" ) == 0 )
|
||||||
profile = &profile_sha512;
|
profile = &profile_sha512;
|
||||||
|
|
||||||
res = mbedtls_x509_crt_verify_with_profile( &chain, &trusted, NULL, profile,
|
res = mbedtls_x509_crt_verify_with_profile( &chain, &trusted, NULL, profile,
|
||||||
|
Loading…
Reference in New Issue
Block a user