Merge pull request #5759 from tom-daubney-arm/correct_x509_flag_parse_tests
Set flag to proper value in x509 parse tests
This commit is contained in:
commit
310294f06a
@ -35,8 +35,8 @@ const mbedtls_x509_crt_profile compat_profile =
|
||||
MBEDTLS_X509_ID_FLAG( MBEDTLS_MD_SHA256 ) |
|
||||
MBEDTLS_X509_ID_FLAG( MBEDTLS_MD_SHA384 ) |
|
||||
MBEDTLS_X509_ID_FLAG( MBEDTLS_MD_SHA512 ),
|
||||
0xFFFFFFF, /* Any PK alg */
|
||||
0xFFFFFFF, /* Any curve */
|
||||
0xFFFFFFFF, /* Any PK alg */
|
||||
0xFFFFFFFF, /* Any curve */
|
||||
1024,
|
||||
};
|
||||
|
||||
@ -53,8 +53,8 @@ const mbedtls_x509_crt_profile profile_rsa3072 =
|
||||
const mbedtls_x509_crt_profile profile_sha512 =
|
||||
{
|
||||
MBEDTLS_X509_ID_FLAG( MBEDTLS_MD_SHA512 ),
|
||||
0xFFFFFFF, /* Any PK alg */
|
||||
0xFFFFFFF, /* Any curve */
|
||||
0xFFFFFFFF, /* Any PK alg */
|
||||
0xFFFFFFFF, /* Any curve */
|
||||
1024,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user