diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-01-28 12:54:52 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-01-28 12:54:52 +0000 |
commit | 57f39cc826ad569b40c0531905327605ec7b0933 (patch) | |
tree | 4a26d7179f32f9079117ff15e90fc766438c6c84 | |
parent | 64895732249821b3b0bf3068cbb76464ef5362ba (diff) |
Print out UTF8 and NumericString types in ASN1 parsing utility.
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | crypto/asn1/asn1_par.c | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -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] diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c index c322dec2b2..688eb82718 100644 --- a/crypto/asn1/asn1_par.c +++ b/crypto/asn1/asn1_par.c @@ -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)) { |