]> andersk Git - openssh.git/blobdiff - auth2-passwd.c
- (djm) Add back radix.o (used by AFS support), after it went missing from
[openssh.git] / auth2-passwd.c
index a8f15161ac89e2bf3f4162b1c00d37884b9baf81..3c2734b56df55bed804fa1c6522be6b2af970f48 100644 (file)
@@ -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);
This page took 0.130488 seconds and 4 git commands to generate.