From: Dr. Stephen Henson Date: Wed, 28 Jan 2009 12:54:52 +0000 (+0000) Subject: Print out UTF8 and NumericString types in ASN1 parsing utility. X-Git-Tag: OpenSSL_0_9_8k^2~51 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=57f39cc826ad569b40c0531905327605ec7b0933;p=oweals%2Fopenssl.git Print out UTF8 and NumericString types in ASN1 parsing utility. --- diff --git a/CHANGES b/CHANGES index ba1feb0d2e..580a735d95 100644 --- a/CHANGES +++ b/CHANGES @@ -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)) {