diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | auth.c | 3 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,8 @@ | |||
1 | 20080705 | ||
2 | - (djm) [auth.c] Fixed test for locked account on HP/UX with shadowed | ||
3 | passwords disabled. bz#1083 report & patch from senthilkumar_sen AT | ||
4 | hotpop.com, w/ dtucker@ | ||
5 | |||
1 | 20080704 | 6 | 20080704 |
2 | - (dtucker) OpenBSD CVS Sync | 7 | - (dtucker) OpenBSD CVS Sync |
3 | - djm@cvs.openbsd.org 2008/07/02 13:30:34 | 8 | - djm@cvs.openbsd.org 2008/07/02 13:30:34 |
@@ -4570,4 +4575,4 @@ | |||
4570 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 4575 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
4571 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 4576 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
4572 | 4577 | ||
4573 | $Id: ChangeLog,v 1.5058 2008/07/04 13:10:49 djm Exp $ | 4578 | $Id: ChangeLog,v 1.5059 2008/07/04 22:59:43 djm Exp $ |
@@ -114,6 +114,7 @@ allowed_user(struct passwd * pw) | |||
114 | #endif /* USE_SHADOW */ | 114 | #endif /* USE_SHADOW */ |
115 | 115 | ||
116 | /* grab passwd field for locked account check */ | 116 | /* grab passwd field for locked account check */ |
117 | passwd = pw->pw_passwd; | ||
117 | #ifdef USE_SHADOW | 118 | #ifdef USE_SHADOW |
118 | if (spw != NULL) | 119 | if (spw != NULL) |
119 | #ifdef USE_LIBIAF | 120 | #ifdef USE_LIBIAF |
@@ -121,8 +122,6 @@ allowed_user(struct passwd * pw) | |||
121 | #else | 122 | #else |
122 | passwd = spw->sp_pwdp; | 123 | passwd = spw->sp_pwdp; |
123 | #endif /* USE_LIBIAF */ | 124 | #endif /* USE_LIBIAF */ |
124 | #else | ||
125 | passwd = pw->pw_passwd; | ||
126 | #endif | 125 | #endif |
127 | 126 | ||
128 | /* check for locked account */ | 127 | /* check for locked account */ |