From cd2906e547bab6b9a65926a0f555168fc7470869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 21 Jul 2005 19:50:59 +0000 Subject: [PATCH] hint that there are IMPLICIT content when we find it git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15700 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/asn1/asn1_print.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/asn1/asn1_print.c b/lib/asn1/asn1_print.c index 25a781084..e7e12b449 100644 --- a/lib/asn1/asn1_print.c +++ b/lib/asn1/asn1_print.c @@ -112,9 +112,13 @@ loop (unsigned char *buf, size_t len, int indent) (unsigned)length, (unsigned)len); } if (class == ASN1_C_CONTEXT || class == ASN1_C_APPL) { - printf ("%lu bytes [%u]\n", (unsigned long)length, tag); - if (type == CONS) + printf ("%lu bytes [%u]", (unsigned long)length, tag); + if (type == CONS) { + printf("\n"); loop_length = loop (buf, length, indent + 2); + } else { + printf(" IMPLICIT content\n"); + } } else if (class == ASN1_C_UNIV) { switch (tag) { case UT_EndOfContent: