From 7463fe508ee716e1dba8ff00e423fa8c2b619668 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Tue, 17 Jul 2007 17:41:21 +0000 Subject: [PATCH] Fixed printing. --- apps/asn1utils/asn1dump.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/asn1utils/asn1dump.c b/apps/asn1utils/asn1dump.c index a5e59906..30cb2b55 100644 --- a/apps/asn1utils/asn1dump.c +++ b/apps/asn1utils/asn1dump.c @@ -25,10 +25,6 @@ SilcBool dec_base64 = FALSE; const char *asn1_tag_name(SilcAsn1Tag tag) { switch (tag) { - case SILC_ASN1_END: - return "END"; - case SILC_ASN1_TAG_OPTS: - return ""; case SILC_ASN1_TAG_CHOICE: return "choice"; case SILC_ASN1_TAG_ANY: @@ -109,7 +105,7 @@ int asn1_dump(SilcAsn1 asn1, SilcBuffer src) const unsigned char *rdata; SilcUInt32 rdata_len, len = 0; SilcBool rindef; - char indent[64]; + char indent[256]; int depth = 0; SILC_LOG_DEBUG(("Dumping ASN.1")); -- 2.24.0