fix debugging helpers
This commit is contained in:
parent
1fcad30bea
commit
6a4fa07b28
3
util.h
3
util.h
@ -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 */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user