diff options
author | Damien Miller <djm@mindrot.org> | 2008-07-05 00:59:43 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-07-05 00:59:43 +0200 |
commit | 22989f1b5e845830abb2f0598907a9894e9fcb4b (patch) | |
tree | 88e87eaf58c24354d9f565e662f52cd6eb5ecef3 /auth.c | |
parent | - (djm) [atomicio.c channels.c clientloop.c defines.h includes.h] (diff) | |
download | openssh-22989f1b5e845830abb2f0598907a9894e9fcb4b.tar.xz openssh-22989f1b5e845830abb2f0598907a9894e9fcb4b.zip |
- (djm) [auth.c] Fixed test for locked account on HP/UX with shadowed
passwords disabled. bz#1083 report & patch from senthilkumar_sen AT
hotpop.com, w/ dtucker@
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -114,6 +114,7 @@ allowed_user(struct passwd * pw) #endif /* USE_SHADOW */ /* grab passwd field for locked account check */ + passwd = pw->pw_passwd; #ifdef USE_SHADOW if (spw != NULL) #ifdef USE_LIBIAF @@ -121,8 +122,6 @@ allowed_user(struct passwd * pw) #else passwd = spw->sp_pwdp; #endif /* USE_LIBIAF */ -#else - passwd = pw->pw_passwd; #endif /* check for locked account */ |