diff options
author | Damien Miller <djm@mindrot.org> | 2003-04-29 15:22:40 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-04-29 15:22:40 +0200 |
commit | eab4bae03894f07ea556db4d781795c724245af7 (patch) | |
tree | 30289e5ea867bf4e9246b6a5bfe2f31f664dedc3 /auth2-passwd.c | |
parent | - (bal) [defines.h progressmeter.c scp.c] Some more culling of non 64bit (diff) | |
download | openssh-eab4bae03894f07ea556db4d781795c724245af7.tar.xz openssh-eab4bae03894f07ea556db4d781795c724245af7.zip |
- (djm) Add back radix.o (used by AFS support), after it went missing from
Makefile many moons ago
- (djm) Apply "owl-always-auth" patch from Openwall/Solar Designer
- (djm) Fix blibpath specification for AIX/gcc
- (djm) Some systems have basename in -lgen. Fix from ayamura@ayamura.org
Diffstat (limited to 'auth2-passwd.c')
-rw-r--r-- | auth2-passwd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth2-passwd.c b/auth2-passwd.c index a8f15161a..3c2734b56 100644 --- a/auth2-passwd.c +++ b/auth2-passwd.c @@ -47,11 +47,11 @@ userauth_passwd(Authctxt *authctxt) logit("password change not supported"); password = packet_get_string(&len); packet_check_eom(); - if (authctxt->valid && + if (PRIVSEP(auth_password(authctxt, password)) == 1 && authctxt->valid #ifdef HAVE_CYGWIN - check_nt_auth(1, authctxt->pw) && + && check_nt_auth(1, authctxt->pw) #endif - PRIVSEP(auth_password(authctxt, password)) == 1) + ) authenticated = 1; memset(password, 0, len); xfree(password); |