[Redbutton-devel] SF.net SVN: redbutton: [439] redbutton-author/trunk/der_decode.c
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-10-16 11:03:03
|
Revision: 439
http://redbutton.svn.sourceforge.net/redbutton/?rev=439&view=rev
Author: skilvington
Date: 2007-10-16 04:02:58 -0700 (Tue, 16 Oct 2007)
Log Message:
-----------
mhegd -vv shows the DER tags as we read them
Modified Paths:
--------------
redbutton-author/trunk/der_decode.c
Modified: redbutton-author/trunk/der_decode.c
===================================================================
--- redbutton-author/trunk/der_decode.c 2007-10-15 15:14:48 UTC (rev 438)
+++ redbutton-author/trunk/der_decode.c 2007-10-16 11:02:58 UTC (rev 439)
@@ -8,8 +8,10 @@
#include <ctype.h>
#include "der_decode.h"
+#include "asn1tag.h"
void verbose(char *, ...);
+void vverbose(char *, ...);
/* DER does not allow indefinite lengths */
@@ -75,6 +77,8 @@
}
tag->length = len;
+ vverbose("<TAG class=%s number=%d length=%d/>\n", asn1class_name(tag->class), tag->number, tag->length);
+
return nbytes;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|