summaryrefslogtreecommitdiff
path: root/libpamc/test/modules/pam_secret.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpamc/test/modules/pam_secret.c')
-rw-r--r--libpamc/test/modules/pam_secret.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libpamc/test/modules/pam_secret.c b/libpamc/test/modules/pam_secret.c
index 95f26014..27e1821e 100644
--- a/libpamc/test/modules/pam_secret.c
+++ b/libpamc/test/modules/pam_secret.c
@@ -1,5 +1,5 @@
/*
- * $Id: pam_secret.c,v 1.3 2004/09/14 14:22:39 kukuk Exp $
+ * $Id: pam_secret.c,v 1.4 2009/12/08 14:41:41 kukuk Exp $
*
* Copyright (c) 1999 Andrew G. Morgan <morgan@linux.kernel.org>
*/
@@ -9,8 +9,6 @@
* NEEDS TO BE INTEGRATED MORE NATIVELY.
*/
-/* #define DEBUG */
-
#include <fcntl.h>
#include <pwd.h>
#include <stdio.h>
@@ -178,7 +176,7 @@ static int converse(pam_handle_t *pamh, struct ps_state_s *new)
}
}
-#ifdef DEBUG
+#ifdef PAM_DEBUG
if (retval == PAM_SUCCESS) {
D(("reply has length=%d and control=%u",
PAM_BP_LENGTH(new->current_reply),