fix debugging helpers

This commit is contained in:
Markus Teich 2016-08-02 16:54:25 +02:00
parent 1fcad30bea
commit 6a4fa07b28

3
util.h
View File

@ -60,7 +60,8 @@ void weprintf (const char *fmt, ...);
} while (0) } while (0)
#define DP(point) ((void)(gcry_log_debugpnt (# point, point, ec_ctx))) #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 */ #else /* ifdef NDEBUG */