summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2010-10-05 16:03:37 +0000
committerStef Walter <stef@memberwebs.com>2010-10-05 16:04:59 +0000
commitb9d8bddb2418675260f21f0bfb32763b2ccbfad6 (patch)
tree7c97ae235094e3bad7f5ee27150b9c6423848e43
parent3127fc4dda46e1221da1924d441307518167a210 (diff)
downloadgnome-keyring-b9d8bddb2418675260f21f0bfb32763b2ccbfad6.tar.gz
[ui] Add extra debug guard around printing of prompt io.
Printing of prompt IO could conceivably contain information that's sensitive. Added extra guard so the debug printing can only be turned on with --enable-debug also enabled. Thanks to Romain Françoise
-rw-r--r--ui/gku-prompt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gku-prompt.c b/ui/gku-prompt.c
index 5af74264..167f219b 100644
--- a/ui/gku-prompt.c
+++ b/ui/gku-prompt.c
@@ -41,8 +41,10 @@
#include <sys/wait.h>
+#ifdef _DEBUG
#define DEBUG_PROMPT 0
#define DEBUG_STDERR 0
+#endif
enum {
RESPONDED,