Print out UTF8 and NumericString types in ASN1 parsing utility.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 28 Jan 2009 12:54:52 +0000 (12:54 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 28 Jan 2009 12:54:52 +0000 (12:54 +0000)
CHANGES
crypto/asn1/asn1_par.c

diff --git a/CHANGES b/CHANGES
index ba1feb0..580a735 100644 (file)
--- a/CHANGES
+++ b/CHANGES
 
  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]
   
index c322dec..688eb82 100644 (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))
                                {