summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-10-28 17:32:38 +0000
committerKevin Steves <stevesk@pobox.com>2001-10-28 17:32:38 +0000
commitfe2f4a1e37c74af71ef2b5b6ac2e353647832b83 (patch)
treeddc6da26c5a63a4fcef1da9c172816279d5e4a42
parent092564869a30a7e1f51969fa736149f9246a9831 (diff)
- (stevesk) Fix compile problem with PAM password change fix
-rw-r--r--ChangeLog3
-rw-r--r--auth-pam.c6
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 384e1578..1f83d68d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
- (djm) Avoid bug in Solaris PAM libs
- (djm) Disconnect if no tty and PAM reports password expired
- (djm) Fix for PAM password changes being echoed (from stevesk)
+ - (stevesk) Fix compile problem with PAM password change fix
20011027
- (tim) [configure.ac] Fixes for ReliantUNIX (don't use libucb)
@@ -6779,4 +6780,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1624 2001/10/28 11:36:55 djm Exp $
+$Id: ChangeLog,v 1.1625 2001/10/28 17:32:38 stevesk Exp $
diff --git a/auth-pam.c b/auth-pam.c
index 08ba132a..29d35667 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -35,7 +35,7 @@
extern char *__progname;
-RCSID("$Id: auth-pam.c,v 1.39 2001/10/28 11:36:56 djm Exp $");
+RCSID("$Id: auth-pam.c,v 1.40 2001/10/28 17:32:38 stevesk Exp $");
#define NEW_AUTHTOK_MSG \
"Warning: Your password has expired, please change it now"
@@ -147,8 +147,8 @@ static int do_pam_conversation(int num_msg, const struct pam_message **msg,
break;
case PAM_PROMPT_ECHO_OFF:
reply[count].resp =
- read_passphrase(PAM_MSG_MEMBER(msg, count,
- msg), RP_ALLOW_STDIN));
+ read_passphrase(PAM_MSG_MEMBER(msg, count,
+ msg), RP_ALLOW_STDIN);
reply[count].resp_retcode = PAM_SUCCESS;
break;
case PAM_ERROR_MSG: