Commit 57f39cc8 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Print out UTF8 and NumericString types in ASN1 parsing utility.

parent 64895732
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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]
  
+2 −0
Original line number Diff line number Diff line
@@ -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))
				{