From 6a998ebfa96c93994e9d98cd07f228de95d71a67 Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Sun, 28 Jul 2002 20:24:07 +0000 Subject: [PATCH] - (stevesk) [auth-pam.c] should use PAM_MSG_MEMBER(); from solar --- ChangeLog | 5 ++++- auth-pam.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f787ee406..0cc6459df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 $ 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; 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("");