summaryrefslogtreecommitdiff
path: root/lib/debug.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-11-09 08:50:16 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-11-09 08:50:16 +0100
commit1836ecf17d4821bfb8803ff150092a6a9fede5e4 (patch)
tree45e11dd03d2e6fc5d9e220c27bf523eb154cbecd /lib/debug.c
parente562008f319c3695937f989f342e98b65b7c7941 (diff)
downloadgnutls-1836ecf17d4821bfb8803ff150092a6a9fede5e4.tar.gz
enable _gnutls_dump_mpi() when debugging.
Diffstat (limited to 'lib/debug.c')
-rw-r--r--lib/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/debug.c b/lib/debug.c
index 27dda9a645..19246e449d 100644
--- a/lib/debug.c
+++ b/lib/debug.c
@@ -28,6 +28,7 @@
#include "debug.h"
#include <gnutls_mpi.h>
+#ifdef DEBUG
void
_gnutls_dump_mpi (const char *prefix, bigint_t a)
{
@@ -41,7 +42,7 @@ _gnutls_dump_mpi (const char *prefix, bigint_t a)
_gnutls_bin2hex (buf, n, buf_hex, sizeof (buf_hex),
NULL));
}
-
+#endif
const char *
_gnutls_packet2str (content_type_t packet)