diff options
author | Damien Miller <djm@mindrot.org> | 2003-04-29 19:12:07 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-04-29 19:12:07 +1000 |
commit | fad82e8999e790899083f9e22a1841148d746df6 (patch) | |
tree | 14606498951158ca5339dd8be7b6d39367b7286c /auth2-none.c | |
parent | 0e7f4363f3d7b2ae707709607fd816f663c7449a (diff) |
- (djm) Add back radix.o (used by AFS support), after it went missing fromV_3_6_1_P2
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-none.c')
-rw-r--r-- | auth2-none.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth2-none.c b/auth2-none.c index c07b2dd8..692a2961 100644 --- a/auth2-none.c +++ b/auth2-none.c @@ -100,7 +100,7 @@ userauth_none(Authctxt *authctxt) if (check_nt_auth(1, authctxt->pw) == 0) return(0); #endif - return (authctxt->valid ? PRIVSEP(auth_password(authctxt, "")) : 0); + return PRIVSEP(auth_password(authctxt, "")) && authctxt->valid; } Authmethod method_none = { |