mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-25 13:43:31 +00:00
Accept bitstrings in X.509 names
This commit is contained in:
parent
f1002f8582
commit
dd5dbcae90
@ -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…
x
Reference in New Issue
Block a user