From 57f39cc826ad569b40c0531905327605ec7b0933 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 28 Jan 2009 12:54:52 +0000 Subject: [PATCH] Print out UTF8 and NumericString types in ASN1 parsing utility. --- CHANGES | 3 +++ crypto/asn1/asn1_par.c | 2 ++ 2 files changed, 5 insertions(+) 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)) { -- 2.25.1