summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
authordtucker <dtucker>2004-02-17 09:46:59 +0000
committerdtucker <dtucker>2004-02-17 09:46:59 +0000
commit05ae54a03c1fcfebc33c7bcbe712e56e34279425 (patch)
treece82887ad871ea610a295f65d9dbbad9b65fb059 /auth-pam.c
parent32be39b689c8f561353350f339f7bb2d0d102043 (diff)
downloadopenssh-05ae54a03c1fcfebc33c7bcbe712e56e34279425.tar.gz
- (dtucker) [auth-pam.c] Tidy up PAM debugging. ok djm@
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 562fb01f..0ab5554a 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -31,7 +31,7 @@
/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
#include "includes.h"
-RCSID("$Id: auth-pam.c,v 1.93 2004/02/10 02:23:29 dtucker Exp $");
+RCSID("$Id: auth-pam.c,v 1.94 2004/02/17 09:46:59 dtucker Exp $");
#ifdef USE_PAM
#if defined(HAVE_SECURITY_PAM_APPL_H)
@@ -242,7 +242,7 @@ sshpam_thread_conv(int n, const struct pam_message **msg,
struct pam_response *reply;
int i;
- debug3("PAM: %s entering, %d responses", __func__, n);
+ debug3("PAM: %s entering, %d messages", __func__, n);
*resp = NULL;
ctxt = data;
@@ -416,7 +416,7 @@ static int
sshpam_null_conv(int n, const struct pam_message **msg,
struct pam_response **resp, void *data)
{
- debug3("PAM: %s entering, %d responses", __func__, n);
+ debug3("PAM: %s entering, %d messages", __func__, n);
return (PAM_CONV_ERR);
}
@@ -754,6 +754,8 @@ pam_tty_conv(int n, const struct pam_message **msg,
struct pam_response *reply;
int i;
+ debug3("PAM: %s called with %d messages", __func__, n);
+
*resp = NULL;
if (n <= 0 || n > PAM_MAX_NUM_MSG || !isatty(STDIN_FILENO))