mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-06 06:28:56 +01:00
Unify name of default profile in X.509 tests
This commit is contained in:
parent
24611f9383
commit
a54f6cc874
2 changed files with 5 additions and 5 deletions
|
|
@ -283,7 +283,7 @@ void x509_verify( char *crt_file, char *ca_file, char *crl_file,
|
|||
if( strcmp( cn_name_str, "NULL" ) != 0 )
|
||||
cn_name = cn_name_str;
|
||||
|
||||
if( strcmp( profile_str, "default" ) == 0 )
|
||||
if( strcmp( profile_str, "" ) == 0 )
|
||||
profile = &mbedtls_x509_crt_profile_default;
|
||||
else if( strcmp( profile_str, "compat" ) == 0 )
|
||||
profile = &compat_profile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue