Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
mbedtls
Commits
dd5dbcae
Commit
dd5dbcae
authored
Mar 27, 2015
by
Manuel Pégourié-Gonnard
Browse files
Accept bitstrings in X.509 names
parent
f1002f85
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/x509.c
View file @
dd5dbcae
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment