- (stevesk) [auth-pam.c] should use PAM_MSG_MEMBER(); from solar

This commit is contained in:
Kevin Steves 2002-07-28 20:24:07 +00:00
parent a7609f548f
commit 6a998ebfa9
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
20020728
- (stevesk) [auth-pam.c] should use PAM_MSG_MEMBER(); from solar
20020725
- (djm) Remove some cruft from INSTALL
- (djm) Latest config.guess and config.sub from ftp://ftp.gnu.org/gnu/config/
@ -1456,4 +1459,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2405 2002/07/25 04:40:22 djm Exp $
$Id: ChangeLog,v 1.2406 2002/07/28 20:24:07 stevesk Exp $

View File

@ -38,7 +38,7 @@ extern char *__progname;
extern int use_privsep;
RCSID("$Id: auth-pam.c,v 1.53 2002/07/23 00:51:53 stevesk Exp $");
RCSID("$Id: auth-pam.c,v 1.54 2002/07/28 20:24:08 stevesk Exp $");
#define NEW_AUTHTOK_MSG \
"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,
break;
case PAM_ERROR_MSG:
case PAM_TEXT_INFO:
if ((*msg)[count].msg != NULL)
if (PAM_MSG_MEMBER(msg, count, msg) != NULL)
fprintf(stderr, "%s\n",
PAM_MSG_MEMBER(msg, count, msg));
reply[count].resp = xstrdup("");