Print out UTF8 and NumericString types in ASN1 parsing utility.

This commit is contained in:
Dr. Stephen Henson 2009-01-28 12:54:52 +00:00
parent 6489573224
commit 57f39cc826
2 changed files with 5 additions and 0 deletions

View File

@ -745,6 +745,9 @@
Changes between 0.9.8j and 0.9.8k [xx XXX xxxx]
*) Print out UTF8String and NumericString when parsing ASN1.
[Steve Henson]
*) Support NumericString type for name components.
[Steve Henson]

View File

@ -206,6 +206,8 @@ static int asn1_parse2(BIO *bp, const unsigned char **pp, long length, int offse
(tag == V_ASN1_T61STRING) ||
(tag == V_ASN1_IA5STRING) ||
(tag == V_ASN1_VISIBLESTRING) ||
(tag == V_ASN1_NUMERICSTRING) ||
(tag == V_ASN1_UTF8STRING) ||
(tag == V_ASN1_UTCTIME) ||
(tag == V_ASN1_GENERALIZEDTIME))
{