From 6cdecd0892b9b9a7a8e3e3917272d04727eb82fa Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Sun, 21 Jul 2002 17:26:54 +0000 Subject: - (stevesk) [auth-pam.c] merge cosmetic changes from solar's openssh-3.4p1-owl-password-changing.diff --- ChangeLog | 6 +++++- auth-pam.c | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 940edc8d3..702b6b6db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20020721 + - (stevesk) [auth-pam.c] merge cosmetic changes from solar's + openssh-3.4p1-owl-password-changing.diff + 20020720 - (stevesk) [ssh-keygen.c] bug #231: always init/seed_rng(). @@ -1397,4 +1401,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2380 2002/07/20 19:05:40 stevesk Exp $ +$Id: ChangeLog,v 1.2381 2002/07/21 17:26:54 stevesk Exp $ diff --git a/auth-pam.c b/auth-pam.c index 6bf10d2f9..f31641c28 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -36,10 +36,10 @@ extern char *__progname; -RCSID("$Id: auth-pam.c,v 1.47 2002/07/02 07:08:24 djm Exp $"); +RCSID("$Id: auth-pam.c,v 1.48 2002/07/21 17:26:54 stevesk Exp $"); #define NEW_AUTHTOK_MSG \ - "Warning: Your password has expired, please change it now" + "Warning: Your password has expired, please change it now." static int do_pam_conversation(int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr); @@ -55,7 +55,7 @@ static const char *__pampasswd = NULL; /* states for do_pam_conversation() */ enum { INITIAL_LOGIN, OTHER } pamstate = INITIAL_LOGIN; -/* remember whether pam_acct_mgmt() returned PAM_NEWAUTHTOK_REQD */ +/* remember whether pam_acct_mgmt() returned PAM_NEW_AUTHTOK_REQD */ static int password_change_required = 0; /* remember whether the last pam_authenticate() succeeded or not */ static int was_authenticated = 0; @@ -326,7 +326,7 @@ int is_pam_password_change_required(void) * Have user change authentication token if pam_acct_mgmt() indicated * it was expired. This needs to be called after an interactive * session is established and the user's pty is connected to - * stdin/stout/stderr. + * stdin/stdout/stderr. */ void do_pam_chauthtok(void) { -- cgit v1.2.3