aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-08-02 16:54:25 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-08-02 16:54:25 +0200
commit6a4fa07b284cca7417dd7fa9493f053a5cf9245f (patch)
tree99d9773095999a74fd47fb9ea0c88b49be18f2d6 /util.h
parent1fcad30bea305228ebcbb101ff796e5a61e251a3 (diff)
fix debugging helpers
Diffstat (limited to 'util.h')
-rw-r--r--util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.h b/util.h
index faf893a..3c13cc4 100644
--- a/util.h
+++ b/util.h
@@ -60,7 +60,8 @@ void weprintf (const char *fmt, ...);
} while (0)
#define DP(point) ((void)(gcry_log_debugpnt (# point, point, ec_ctx)))
-#define DM(mpi) ((void)(gcry_log_debugmpi (# mpi, mpi, ec_ctx)))
+#define DM(mpi) ((void)(gcry_log_debugmpi (# mpi, mpi)))
+#define DS(sexp) ((void)(gcry_log_debugsxp (# sexp, sexp)))
#else /* ifdef NDEBUG */