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 ba1feb0d2e4b751cc8baf03f4bd8ae12f543ba57..580a735d95f7fd9ff600a01cf9949421725b0fa4 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 c322dec2b299a4f3c16fa2802379390bf65296e0..688eb82718fb6bd95ea29a358f75c4036552d870 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))
                                {