summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2002-07-28 20:24:07 +0000
committerKevin Steves <stevesk@pobox.com>2002-07-28 20:24:07 +0000
commit6a998ebfa96c93994e9d98cd07f228de95d71a67 (patch)
tree9a4c7872f000d8f9b666cc8bd4df72b562c1cf9c /auth-pam.c
parenta7609f548f2e0be63abe740d7dbdd7d8a4a17eeb (diff)
- (stevesk) [auth-pam.c] should use PAM_MSG_MEMBER(); from solar
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 39c2ac6a3..99b03f45b 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -38,7 +38,7 @@ extern char *__progname;
38 38
39extern int use_privsep; 39extern int use_privsep;
40 40
41RCSID("$Id: auth-pam.c,v 1.53 2002/07/23 00:51:53 stevesk Exp $"); 41RCSID("$Id: auth-pam.c,v 1.54 2002/07/28 20:24:08 stevesk Exp $");
42 42
43#define NEW_AUTHTOK_MSG \ 43#define NEW_AUTHTOK_MSG \
44 "Warning: Your password has expired, please change it now." 44 "Warning: Your password has expired, please change it now."
@@ -156,7 +156,7 @@ static int do_pam_conversation(int num_msg, const struct pam_message **msg,
156 break; 156 break;
157 case PAM_ERROR_MSG: 157 case PAM_ERROR_MSG:
158 case PAM_TEXT_INFO: 158 case PAM_TEXT_INFO:
159 if ((*msg)[count].msg != NULL) 159 if (PAM_MSG_MEMBER(msg, count, msg) != NULL)
160 fprintf(stderr, "%s\n", 160 fprintf(stderr, "%s\n",
161 PAM_MSG_MEMBER(msg, count, msg)); 161 PAM_MSG_MEMBER(msg, count, msg));
162 reply[count].resp = xstrdup(""); 162 reply[count].resp = xstrdup("");