YKCS11: turn off debug by default and make it a configure option (--enable-ykcs11-debug).

This commit is contained in:
Alessio Di Mauro
2015-11-06 15:56:13 +01:00
parent a8825c99f3
commit 1cdeded831
2 changed files with 14 additions and 3 deletions
-3
View File
@@ -1,9 +1,6 @@
#ifndef DEBUG_H
#define DEBUG_H
#define YKCS11_DBG 1 // General debug, must be either 1 or 0
#define YKCS11_DINOUT 1 // Function in/out debug, must be either 1 or 0
#define D(x...) do { \
fprintf (stderr, "debug: %s:%d (%s): ", __FILE__, __LINE__, __FUNCTION__); \
fprintf (stderr, x); \