mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Merge branch 'mbedtls-1.3' into development
* mbedtls-1.3: Add missing depends in x509 programs Simplify ifdef checks in programs/x509 Fix thread safety issue in RSA operations Add test certificate for bitstring in DN Add support for X.520 uniqueIdentifier Accept bitstrings in X.509 names
This commit is contained in:
commit
26c9f90cae
12 changed files with 143 additions and 81 deletions
|
|
@ -380,7 +380,8 @@ static int x509_get_attr_type_value( unsigned char **p,
|
|||
|
||||
if( **p != ASN1_BMP_STRING && **p != ASN1_UTF8_STRING &&
|
||||
**p != ASN1_T61_STRING && **p != ASN1_PRINTABLE_STRING &&
|
||||
**p != ASN1_IA5_STRING && **p != ASN1_UNIVERSAL_STRING )
|
||||
**p != ASN1_IA5_STRING && **p != ASN1_UNIVERSAL_STRING &&
|
||||
**p != ASN1_BIT_STRING )
|
||||
return( POLARSSL_ERR_X509_INVALID_NAME +
|
||||
POLARSSL_ERR_ASN1_UNEXPECTED_TAG );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue