diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-03-04 16:42:34 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-03-04 16:42:34 +0100 |
commit | ef877cb6019a7749bda7cd50d40f206aebdea33c (patch) | |
tree | 73027eee06cdf5592e9370c4997242fdd673b5b9 /lib/element.c | |
parent | e9885c4a52623f5be7c4948559b1f038c841afe6 (diff) | |
download | libtasn1-ef877cb6019a7749bda7cd50d40f206aebdea33c.tar.gz libtasn1-ef877cb6019a7749bda7cd50d40f206aebdea33c.tar.bz2 libtasn1-ef877cb6019a7749bda7cd50d40f206aebdea33c.zip |
Simplify unused debug code.
Diffstat (limited to 'lib/element.c')
-rw-r--r-- | lib/element.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/element.c b/lib/element.c index c3786cf..1a5ad33 100644 --- a/lib/element.c +++ b/lib/element.c @@ -28,7 +28,6 @@ #include <int.h> -#include <errors.h> #include "parser_aux.h" #include <gstr.h> #include "structure.h" @@ -117,15 +116,13 @@ _asn1_convert_integer (const char *value, unsigned char *value_out, for (k2 = k; k2 < SIZEOF_UNSIGNED_LONG_INT; k2++) value_out[k2 - k] = val[k2]; - -#ifdef LIBTASN1_DEBUG_INTEGER - _libtasn1_log ("_asn1_convert_integer: valueIn=%s, lenOut=%d", value, *len); +#if 0 + printf ("_asn1_convert_integer: valueIn=%s, lenOut=%d", value, *len); for (k = 0; k < SIZEOF_UNSIGNED_LONG_INT; k++) - _libtasn1_log (", vOut[%d]=%d", k, value_out[k]); - _libtasn1_log ("\n"); + printf (", vOut[%d]=%d", k, value_out[k]); + printf ("\n"); #endif - return ASN1_SUCCESS; } |