diff options
author | Damien Miller <djm@mindrot.org> | 2003-09-03 07:32:45 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-09-03 07:32:45 +1000 |
commit | 856f0be66908352828bb595f7ad5213623c0c610 (patch) | |
tree | 607c8df162abc4a5aa61cbaad86f9a4aaf71718a /auth2.c | |
parent | 39638b6aebf5ca69ba75c79c0cc0572e1f396258 (diff) |
- markus@cvs.openbsd.org 2003/08/26 09:58:43
[auth-passwd.c auth.c auth.h auth1.c auth2-none.c auth2-passwd.c]
[auth2.c monitor.c]
fix passwd auth for 'username leaks via timing'; with djm@, original
patches from solar
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth2.c,v 1.101 2003/08/22 13:22:27 markus Exp $"); | 26 | RCSID("$OpenBSD: auth2.c,v 1.102 2003/08/26 09:58:43 markus Exp $"); |
27 | 27 | ||
28 | #include "ssh2.h" | 28 | #include "ssh2.h" |
29 | #include "xmalloc.h" | 29 | #include "xmalloc.h" |
@@ -168,6 +168,7 @@ input_userauth_request(int type, u_int32_t seq, void *ctxt) | |||
168 | #endif | 168 | #endif |
169 | } else { | 169 | } else { |
170 | logit("input_userauth_request: illegal user %s", user); | 170 | logit("input_userauth_request: illegal user %s", user); |
171 | authctxt->pw = fakepw(); | ||
171 | #ifdef USE_PAM | 172 | #ifdef USE_PAM |
172 | if (options.use_pam) | 173 | if (options.use_pam) |
173 | PRIVSEP(start_pam(user)); | 174 | PRIVSEP(start_pam(user)); |