diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-09 01:17:23 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-09 01:17:23 +0000 |
commit | 742e89ec5d6d51402e8140f9eca4222405ffce36 (patch) | |
tree | dd68d7a1d3ec5805914e807e2d0ad643ad7d2f61 | |
parent | 9cc94646138a4fefb6805dd9e03e9e88e7359d3f (diff) |
- 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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | auth2-chall.c | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -30,6 +30,11 @@ | |||
30 | - markus@cvs.openbsd.org 2001/06/03 19:38:42 | 30 | - markus@cvs.openbsd.org 2001/06/03 19:38:42 |
31 | [scp.c] | 31 | [scp.c] |
32 | pass -v to ssh; from slade@shore.net | 32 | pass -v to ssh; from slade@shore.net |
33 | - markus@cvs.openbsd.org 2001/06/03 20:06:11 | ||
34 | [auth2-chall.c] | ||
35 | the challenge response device decides how to handle non-existing | ||
36 | users. | ||
37 | -> fake challenges for skey and cryptocard | ||
33 | 38 | ||
34 | 20010606 | 39 | 20010606 |
35 | - OpenBSD CVS Sync | 40 | - OpenBSD CVS Sync |
@@ -5541,4 +5546,4 @@ | |||
5541 | - Wrote replacements for strlcpy and mkdtemp | 5546 | - Wrote replacements for strlcpy and mkdtemp |
5542 | - Released 1.0pre1 | 5547 | - Released 1.0pre1 |
5543 | 5548 | ||
5544 | $Id: ChangeLog,v 1.1256 2001/06/09 01:15:11 mouring Exp $ | 5549 | $Id: ChangeLog,v 1.1257 2001/06/09 01:17:23 mouring Exp $ |
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 @@ | |||
23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 | */ | 24 | */ |
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth2-chall.c,v 1.5 2001/05/18 14:13:28 markus Exp $"); | 26 | RCSID("$OpenBSD: auth2-chall.c,v 1.6 2001/06/03 20:06:11 markus Exp $"); |
27 | 27 | ||
28 | #include "ssh2.h" | 28 | #include "ssh2.h" |
29 | #include "auth.h" | 29 | #include "auth.h" |
@@ -149,7 +149,7 @@ auth2_challenge(Authctxt *authctxt, char *devs) | |||
149 | authctxt->user ? authctxt->user : "<nouser>", | 149 | authctxt->user ? authctxt->user : "<nouser>", |
150 | devs ? devs : "<no devs>"); | 150 | devs ? devs : "<no devs>"); |
151 | 151 | ||
152 | if (!authctxt->valid || authctxt->user == NULL || !devs) | 152 | if (authctxt->user == NULL || !devs) |
153 | return 0; | 153 | return 0; |
154 | if (authctxt->kbdintctxt == NULL) | 154 | if (authctxt->kbdintctxt == NULL) |
155 | authctxt->kbdintctxt = kbdint_alloc(devs); | 155 | authctxt->kbdintctxt = kbdint_alloc(devs); |