diff options
author | djm <djm> | 2008-07-04 22:59:43 +0000 |
---|---|---|
committer | djm <djm> | 2008-07-04 22:59:43 +0000 |
commit | f5dcebba06546e161907191dea045b1904ee90cb (patch) | |
tree | 36327ad347e301dc473fb0b6ae7b328a0cd62530 /auth.c | |
parent | 3d2174695a7e606f709dca9dd87a68757c8c437c (diff) | |
download | openssh-f5dcebba06546e161907191dea045b1904ee90cb.tar.gz |
- (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 */ |