mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Add some tests for different available profiles
Add tests for suite b profile and for the next profile
This commit is contained in:
parent
099e61df52
commit
c15399843e
2 changed files with 24 additions and 0 deletions
|
|
@ -250,6 +250,10 @@ void x509_verify( char *crt_file, char *ca_file, char *crl_file,
|
|||
|
||||
if( strcmp( profile_str, "default" ) == 0 )
|
||||
profile = &mbedtls_x509_crt_profile_default;
|
||||
else if( strcmp( profile_str, "next" ) == 0 )
|
||||
profile = &mbedtls_x509_crt_profile_next;
|
||||
else if( strcmp( profile_str, "suite_b" ) == 0 )
|
||||
profile = &mbedtls_x509_crt_profile_suiteb;
|
||||
else if( strcmp( profile_str, "compat" ) == 0 )
|
||||
profile = &compat_profile;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue