Unify name of default profile in X.509 tests

This commit is contained in:
Manuel Pégourié-Gonnard 2017-08-09 10:41:42 +02:00
parent 24611f9383
commit a54f6cc874
2 changed files with 5 additions and 5 deletions

View file

@ -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;