diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-09 03:17:23 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-09 03:17:23 +0200 |
commit | 742e89ec5d6d51402e8140f9eca4222405ffce36 (patch) | |
tree | dd68d7a1d3ec5805914e807e2d0ad643ad7d2f61 /auth2-chall.c | |
parent | - markus@cvs.openbsd.org 2001/06/03 19:38:42 (diff) | |
download | openssh-742e89ec5d6d51402e8140f9eca4222405ffce36.tar.xz openssh-742e89ec5d6d51402e8140f9eca4222405ffce36.zip |
- markus@cvs.openbsd.org 2001/06/03 20:06:11
[auth2-chall.c]
the challenge response device decides how to handle non-existing
users.
-> fake challenges for skey and cryptocard
Diffstat (limited to '')
-rw-r--r-- | auth2-chall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2-chall.c b/auth2-chall.c index ad4f7ac42..be741010e 100644 --- a/auth2-chall.c +++ b/auth2-chall.c @@ -23,7 +23,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: auth2-chall.c,v 1.5 2001/05/18 14:13:28 markus Exp $"); +RCSID("$OpenBSD: auth2-chall.c,v 1.6 2001/06/03 20:06:11 markus Exp $"); #include "ssh2.h" #include "auth.h" @@ -149,7 +149,7 @@ auth2_challenge(Authctxt *authctxt, char *devs) authctxt->user ? authctxt->user : "<nouser>", devs ? devs : "<no devs>"); - if (!authctxt->valid || authctxt->user == NULL || !devs) + if (authctxt->user == NULL || !devs) return 0; if (authctxt->kbdintctxt == NULL) authctxt->kbdintctxt = kbdint_alloc(devs); |