summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 10a87fa46..490990dec 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -36,7 +36,7 @@
36 36
37extern char *__progname; 37extern char *__progname;
38 38
39RCSID("$Id: auth-pam.c,v 1.45 2002/04/26 01:27:24 djm Exp $"); 39RCSID("$Id: auth-pam.c,v 1.46 2002/05/08 02:27:56 djm Exp $");
40 40
41#define NEW_AUTHTOK_MSG \ 41#define NEW_AUTHTOK_MSG \
42 "Warning: Your password has expired, please change it now" 42 "Warning: Your password has expired, please change it now"
@@ -299,6 +299,9 @@ void do_pam_setcred(int init)
299{ 299{
300 int pam_retval; 300 int pam_retval;
301 301
302 if (__pamh == NULL)
303 return;
304
302 do_pam_set_conv(&conv); 305 do_pam_set_conv(&conv);
303 306
304 debug("PAM establishing creds"); 307 debug("PAM establishing creds");