From: Pekka Riikonen Date: Tue, 17 Jul 2007 17:41:21 +0000 (+0000) Subject: Fixed printing. X-Git-Tag: 1.2.beta1~171 X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=commitdiff_plain;h=7463fe508ee716e1dba8ff00e423fa8c2b619668 Fixed printing. --- 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"));