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
This commit is contained in:
Love Hörnquist Åstrand
2005-07-21 19:50:59 +00:00
parent b3df78e697
commit cd2906e547

View File

@@ -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: